Skip to content

Commit ceaa569

Browse files
committed
disable flaky file locking test on Windows
See #7010
1 parent c923f74 commit ceaa569

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/std/fs/test.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,11 @@ test "open file with exclusive lock twice, make sure it waits" {
716716
return error.SkipZigTest;
717717
}
718718

719+
if (std.Target.current.os.tag == .windows) {
720+
// https://github.com/ziglang/zig/issues/7010
721+
return error.SkipZigTest;
722+
}
723+
719724
const filename = "file_lock_test.txt";
720725

721726
var tmp = tmpDir(.{});

0 commit comments

Comments
 (0)