mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 14:15:14 +00:00
Add sleep time to fix flaky test in Windows CI
This commit is contained in:
1 parent
f704abefbf
commit
ee992690f2
1 file changed
+1
@@ -36,6 +36,7 @@ class TestLanguageServerCommonFunctionality:
|
||||
if is_ci and platform.system() == "Windows":
|
||||
now = time.time()
|
||||
os.utime(file_path, (now, now))
|
||||
time.sleep(5)
|
||||
|
||||
# check that the file buffer has been invalidated and reloaded
|
||||
assert fb.contents == test_string2
|
||||
|
||||
Reference in new issue
Block a user