Skip to content

Commit

Permalink
Better reliability in redis handler testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Moutix committed Feb 25, 2017
1 parent c827d5d commit 6ebc3cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def receive_msg():
messager.send("Message 1")
messager.send("Message 2")

time.sleep(0.1)
messager.stop()
time.sleep(0.1)
self.assertFalse(thread.is_alive())
Expand Down

0 comments on commit 6ebc3cd

Please sign in to comment.