mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 07:19:54 +00:00
Proper synchronization instead of time.sleep()
This commit is contained in:
@ -328,8 +328,11 @@ class JoinTestCase(cases.BaseServerTestCase):
|
||||
self.sendLine(3, 'JOIN #chan')
|
||||
self.sendLine(4, 'JOIN #chan')
|
||||
|
||||
import time
|
||||
time.sleep(0.1)
|
||||
# Synchronize
|
||||
self.getMessages(1)
|
||||
self.getMessages(2)
|
||||
self.getMessages(3)
|
||||
self.getMessages(4)
|
||||
self.getMessages(1)
|
||||
self.getMessages(2)
|
||||
self.getMessages(3)
|
||||
|
Reference in New Issue
Block a user