Skip to content

Commit

Permalink
ext/File-Glob/t/rt131211.t: fix timing issues #2
Browse files Browse the repository at this point in the history
Commit v5.27.8-405-gf548aeca98 from a year ago tweaked this
timing-sensitive test script to reduce false positives.
However, we're still seeing the occasional failure of test 2 in smokes,
so twaks the timing a little further.
  • Loading branch information
iabyn committed Apr 19, 2019
1 parent 4304943 commit 9770e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/File-Glob/t/rt131211.t
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ is $count,10,

SKIP: {
skip "unstable or too small timing", 1 unless
$elapsed_match >= 0.001 && $elapsed_fail >= 0.001;
$elapsed_match >= 0.01 && $elapsed_fail >= 0.01;
ok $elapsed_fail <= 10 * $elapsed_match,
"time to fail less than 10x the time to match"
or diag("elapsed_match=$elapsed_match elapsed_fail=$elapsed_fail");
Expand Down

0 comments on commit 9770e07

Please sign in to comment.