Commit ceaa569bfa

Andrew Kelley <andrew@ziglang.org>
2020-11-07 01:00:51
disable flaky file locking test on Windows
See #7010
1 parent c923f74
Changed files (1)
lib
std
lib/std/fs/test.zig
@@ -716,6 +716,11 @@ test "open file with exclusive lock twice, make sure it waits" {
         return error.SkipZigTest;
     }
 
+    if (std.Target.current.os.tag == .windows) {
+        // https://github.com/ziglang/zig/issues/7010
+        return error.SkipZigTest;
+    }
+
     const filename = "file_lock_test.txt";
 
     var tmp = tmpDir(.{});