This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/re/speed.t: increase timeout
authorDavid Mitchell <davem@iabyn.com>
Tue, 5 Nov 2019 11:43:57 +0000 (11:43 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 5 Nov 2019 11:43:57 +0000 (11:43 +0000)
commit708d39051b12740012075da90fafa9354dd76787
treea315a007af123919b31aa8365144847d527160e0
parenta6d5b8290f10eb709eb405ee94145c9620f8e5a2
t/re/speed.t: increase timeout

Test 58 is supposed to finish in milliseconds, or take 10s of seconds
if it hits the bug. It currently tests for <= 1s and is failing
occasionally in smokes. Increase the timeout to 2s and see if the issue
goes away. Also add a diag() to display the elapsed time on failure.
t/re/speed.t