We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4280ab9 commit b6da108Copy full SHA for b6da108
yggdrasil/communication/tests/test_ValueComm.py
@@ -43,6 +43,9 @@ def test_send_recv(self):
43
n_recv = self.testing_options['kwargs']['count']
44
msg_recv = self.test_msg
45
if self.use_async:
46
+ from yggdrasil.multitasking import wait_on_function
47
+ wait_on_function(lambda: self.recv_instance.n_msg_recv > 0,
48
+ timeout=self.timeout)
49
assert(self.recv_instance.n_msg_recv > 0)
50
else:
51
self.assert_equal(self.recv_instance.n_msg_recv, n_recv)
0 commit comments