authorgravatar for leroycepearson@geemili.xyzLeRoyce Pearson <leroycepearson@geemili.xyz> 2020-04-08 18:03:52-06:00
committergravatar for leroycepearson@geemili.xyzLeRoyce Pearson <leroycepearson@geemili.xyz> 2020-04-08 18:03:52-06:00
log5951211d3fc348fc37a86abc9906acf4ee796883
tree7e9e1f1458e1bb43f29ebee09ca7d7002c22f2b3
parentd4161e1667e8b5c63859e524645d04eaf479c0b2

Reduce file lock test sleep time


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/fs.zig+1-1
...@@ -1684,7 +1684,7 @@ test "" {...@@ -1684,7 +1684,7 @@ test "" {
1684 _ = @import("fs/watch.zig");1684 _ = @import("fs/watch.zig");
1685}1685}
16861686
1687const FILE_LOCK_TEST_SLEEP_TIME = 1 * std.time.ns_per_s;1687const FILE_LOCK_TEST_SLEEP_TIME = 5 * std.time.millisecond;
16881688
1689test "open file with exclusive nonblocking lock twice" {1689test "open file with exclusive nonblocking lock twice" {
1690 const dir = cwd();1690 const dir = cwd();