Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/tests_subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_subscription_count_list(self):
val = copy(val) # we do not want to modify object in our db, we need a copy in order to generate event
val.append(i)
var.set_value(copy(val))
time.sleep(0.2) # let last event arrive
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was too short and causing the test to occasionally fail. I have increased it to 0.3.

time.sleep(0.3) # let last event arrive
self.assertEqual(myhandler.datachange_count, nb + 1)
sub.delete()

Expand Down