You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by mx...@apache.org on 2017/05/10 16:29:57 UTC

incubator-ariatosca git commit: fixed instumentation tests. we need to add tests

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-213-Sporadic-tests-failures-over-locked-database-issue decbc4ee5 -> 663848f89


fixed instumentation tests. we need to add tests


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/663848f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/663848f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/663848f8

Branch: refs/heads/ARIA-213-Sporadic-tests-failures-over-locked-database-issue
Commit: 663848f89f9b21f455dcd576a7819dea93a271ed
Parents: decbc4e
Author: max-orlov <ma...@gigaspaces.com>
Authored: Wed May 10 19:29:52 2017 +0300
Committer: max-orlov <ma...@gigaspaces.com>
Committed: Wed May 10 19:29:52 2017 +0300

----------------------------------------------------------------------
 tests/storage/test_instrumentation.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/663848f8/tests/storage/test_instrumentation.py
----------------------------------------------------------------------
diff --git a/tests/storage/test_instrumentation.py b/tests/storage/test_instrumentation.py
index 673103e..844f9c3 100644
--- a/tests/storage/test_instrumentation.py
+++ b/tests/storage/test_instrumentation.py
@@ -35,6 +35,7 @@ Value = instrumentation._Value
 instruments_holder = []
 
 
+# TODO: add testing for new instances
 class TestInstrumentation(object):
 
     def test_track_changes(self, storage):
@@ -227,6 +228,7 @@ class TestInstrumentation(object):
 
         instrumentation.apply_tracked_changes(
             tracked_changes=instrument.tracked_changes,
+            new_instances={},
             model=storage)
 
         instance1_1, instance1_2, instance2_1, instance2_2 = get_instances()