From 7241d136f4c249aa100af2da8a4f56b977b3d761 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 23 Apr 2016 11:21:36 -0400 Subject: * tests/scripts/features/output-sync: increase test timeout. I'm getting random failures with a timeout of 10s; increase to 30s. --- tests/scripts/features/output-sync | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/scripts/features/output-sync b/tests/scripts/features/output-sync index 7139e002..7237e65b 100644 --- a/tests/scripts/features/output-sync +++ b/tests/scripts/features/output-sync @@ -53,6 +53,8 @@ sub output_sync_set { @syncfiles = qw(mksync.foo mksync.foo_start mksync.bar mksync.bar_start); +$tmout = 30; + output_sync_clean(); mkdir('foo', 0777); mkdir('bar', 0777); @@ -140,7 +142,7 @@ bar: start bar: end baz: start baz: end -#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, 10); +#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, $tmout); # Test per-target synchronization. # Note we have to sleep again here after starting the foo makefile before @@ -171,7 +173,7 @@ foo: end #MAKE#[1]: Entering directory '#PWD#/bar' baz: start baz: end -#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, 10); +#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, $tmout); # Rerun but this time suppress the directory tracking unlink(@syncfiles); @@ -183,7 +185,7 @@ bar: end foo: start foo: end baz: start -baz: end\n", 0, 10); +baz: end\n", 0, $tmout); # Test that messages from make itself are enclosed with # "Entering/Leaving directory" messages. @@ -236,7 +238,7 @@ bar: end #MAKE#[1]: Leaving directory '#PWD#/bar' #MAKE#[1]: Entering directory '#PWD#/foo' foo: end -#MAKE#[1]: Leaving directory '#PWD#/foo'\n", 0, 10); +#MAKE#[1]: Leaving directory '#PWD#/foo'\n", 0, $tmout); # Remove temporary directories and contents. -- cgit v1.2.3