diff --git a/util/ipresolver/test/test_ipresolver.py b/util/ipresolver/test/test_ipresolver.py index ebd475b52..19e8283a0 100644 --- a/util/ipresolver/test/test_ipresolver.py +++ b/util/ipresolver/test/test_ipresolver.py @@ -64,4 +64,5 @@ def test_thread_missing_file(): with patch('time.sleep', side_effect=LoopInterruptionForTest) as sleep: update_ip_thread = _UpdateIPRange(_UPDATE_INTERVAL) update_ip_thread.start() + update_ip_thread.join(30) sleep.assert_called_with(_FAILED_UPDATE_RETRY_SECS)