diff --git a/test/test_chewie.py b/test/test_chewie.py index fd60f6a3..97662247 100644 --- a/test/test_chewie.py +++ b/test/test_chewie.py @@ -297,7 +297,9 @@ def test_success_dot1x(self): pool = eventlet.GreenPool() chewie_thread = pool.spawn(self.chewie.run) - eventlet.sleep(0.1) + while FROM_SUPPLICANT.qsize(): + eventlet.sleep() + eventlet.sleep() self.assertEqual( self.chewie.get_state_machine('02:42:ac:17:00:6f',