Commit 5951211d3f

LeRoyce Pearson <leroycepearson@geemili.xyz>
2020-04-09 02:03:52
Reduce file lock test sleep time
1 parent d4161e1
Changed files (1)
lib
std
lib/std/fs.zig
@@ -1684,7 +1684,7 @@ test "" {
     _ = @import("fs/watch.zig");
 }
 
-const FILE_LOCK_TEST_SLEEP_TIME = 1 * std.time.ns_per_s;
+const FILE_LOCK_TEST_SLEEP_TIME = 5 * std.time.millisecond;
 
 test "open file with exclusive nonblocking lock twice" {
     const dir = cwd();