projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70ffabf
)
4818: Add missing timeout in Node Manager test.
author
Brett Smith <brett@curoverse.com>
Thu, 18 Dec 2014 15:42:56 +0000
(10:42 -0500)
committer
Brett Smith <brett@curoverse.com>
Thu, 18 Dec 2014 15:42:56 +0000
(10:42 -0500)
Refs #4818.
services/nodemanager/tests/test_daemon.py
patch
|
blob
|
history
diff --git
a/services/nodemanager/tests/test_daemon.py
b/services/nodemanager/tests/test_daemon.py
index 8245fe2e706d05fadbe03c3c84d5e2bb1755eded..ccd71d589389cc99ee16957a0b4451d6106ee75f 100644
(file)
--- a/
services/nodemanager/tests/test_daemon.py
+++ b/
services/nodemanager/tests/test_daemon.py
@@
-57,9
+57,9
@@
class NodeManagerDaemonActorTestCase(testutil.ActorTestMixin,
self.assertTrue(self.node_setup.start.called)
def check_monitors_arvados_nodes(self, *arv_nodes):
self.assertTrue(self.node_setup.start.called)
def check_monitors_arvados_nodes(self, *arv_nodes):
- self.assertItemsEqual(arv_nodes, pykka.get_all(
- monitor.proxy().arvados_node
-
for monitor in self.monitor_list() if monitor.is_alive()
))
+ pairings = [monitor.proxy().arvados_node
+ for monitor in self.monitor_list() if monitor.is_alive()]
+
self.assertItemsEqual(arv_nodes, pykka.get_all(pairings, self.TIMEOUT
))
def test_node_pairing(self):
cloud_node = testutil.cloud_node_mock(1)
def test_node_pairing(self):
cloud_node = testutil.cloud_node_mock(1)