Add sleep time to fix flaky test in Windows CI

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-02-14 17:43:35 +01:00
1 parent f704abefbf
commit ee992690f2
1 file changed
+1
+1
View File
@@ -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