Update timing logic for the time-limit feature

This commit is contained in:
Michael Mintz 2021-11-09 19:14:50 -05:00
parent 67818a7ede
commit 99b1594421
1 changed files with 1 additions and 1 deletions

View File

@ -3125,7 +3125,7 @@ class BaseCase(unittest.TestCase):
self.__check_scope()
if not sb_config.time_limit:
time.sleep(seconds)
elif seconds <= 0.3:
elif seconds < 0.4:
shared_utils.check_if_time_limit_exceeded()
time.sleep(seconds)
shared_utils.check_if_time_limit_exceeded()