Skip to content

Commit 6f41d63

Browse files
committed
Handle an occasional race condition in pm_to_blib.t
Confirmed and tested on a number of different systems where the problem was manifesting itself.
1 parent 37921d9 commit 6f41d63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/pm_to_blib.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ local $ENV{PERL_INSTALL_QUIET};
7070

7171
# Rerun the Makefile.PL, pm_to_blib should rerun
7272
{
73+
# Seems there are occasional race conditions with these tests
74+
# waiting a couple of seconds appears to resolve these
75+
sleep 2;
7376
run_ok(qq{$perl Makefile.PL});
7477

7578
# XXX This is a fragile way to check that it reran.

0 commit comments

Comments
 (0)