[ARVADOS] updated: 597b742a61cfb50e80af16beb0971827fc9b5b71
Git user
git at public.curoverse.com
Thu Aug 3 17:01:22 EDT 2017
Summary of changes:
services/nodemanager/tests/test_daemon.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 597b742a61cfb50e80af16beb0971827fc9b5b71 (commit)
from e6cc23100178e5edc90f8e9d04e6c663944b5da9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 597b742a61cfb50e80af16beb0971827fc9b5b71
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Aug 3 17:01:01 2017 -0400
11925: Two more tests wait for expected number of paired nodes.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curoverse.com>
diff --git a/services/nodemanager/tests/test_daemon.py b/services/nodemanager/tests/test_daemon.py
index 6012cfc..1efa1ff 100644
--- a/services/nodemanager/tests/test_daemon.py
+++ b/services/nodemanager/tests/test_daemon.py
@@ -233,7 +233,7 @@ class NodeManagerDaemonActorTestCase(testutil.ActorTestMixin,
arvados_nodes=[testutil.arvados_node_mock(1),
testutil.arvados_node_mock(2, last_ping_at='1970-01-01T01:02:03.04050607Z')],
want_sizes=[size])
-
+ self.busywait(lambda: 2 == self.paired_monitor_count())
get_cloud_node = mock.MagicMock(name="get_cloud_node")
get_cloud_node.get.return_value = cloud_nodes[1]
mock_node_monitor = mock.MagicMock()
@@ -671,7 +671,7 @@ class NodeManagerDaemonActorTestCase(testutil.ActorTestMixin,
testutil.arvados_node_mock(3)],
want_sizes=[small, small, big],
avail_sizes=avail_sizes)
-
+ self.busywait(lambda: 3 == self.paired_monitor_count())
self.daemon.update_server_wishlist([small, big, big]).get(self.TIMEOUT)
self.assertEqual(0, self.node_shutdown.start.call_count)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list