Skip to content

Commit 47364c1

Browse files
committed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ruby/test_file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def test_stat
375375
sleep 2
376376
File.read(path)
377377

378-
delta = 1
378+
delta = EnvUtil.apply_timeout_scale(1)
379379
stat = File.stat(path)
380380
assert_in_delta tb, stat.birthtime.to_f, delta
381381
assert_in_delta t0+2, stat.mtime.to_f, delta

0 commit comments

Comments
 (0)