Skip to content

Commit 397e487

Browse files
Syed Razahardbyte
authored andcommitted
Possible fix for tests sometimes failing
1 parent fa9df7b commit 397e487

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/simplecyclic_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def test_thread_based_cyclic_send_task(self):
168168
on_error_mock.assert_not_called()
169169
task.stop()
170170
bus.shutdown()
171+
sleep(.5)
171172

172173
# bus has been shutted down
173174
on_error_mock.reset_mock()

0 commit comments

Comments
 (0)