diff options
author | David Mitchell <davem@iabyn.com> | 2019-04-19 12:38:33 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-04-19 12:38:33 +0100 |
commit | 9770e07bfa784e7e2acc67585691017b56cadb6f (patch) | |
tree | 972772df02f2e517c8a3c11a6483f43ebe0c0191 /ext | |
parent | 43049430d17d12953e6f6972b181eac4a7b3de9d (diff) | |
download | perl-9770e07bfa784e7e2acc67585691017b56cadb6f.tar.gz |
ext/File-Glob/t/rt131211.t: fix timing issues #2
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/File-Glob/t/rt131211.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File-Glob/t/rt131211.t b/ext/File-Glob/t/rt131211.t index 4ac0d8729d..9bca70c17f 100644 --- a/ext/File-Glob/t/rt131211.t +++ b/ext/File-Glob/t/rt131211.t @@ -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"); |