disable flaky file locking test on Windows

See #7010
This commit is contained in:
Andrew Kelley 2020-11-06 17:00:51 -07:00
parent c923f74fc9
commit ceaa569bfa

View file

@ -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(.{});