[Libguestfs] [PATCH] php: raise the per-test timeout to 300 secs

Pino Toscano ptoscano at redhat.com
Mon Mar 24 15:26:09 UTC 2014


Some tests might spawn an appliance, which will take time on slower
architectures and on some virtualized environments.
Hence raise the per-test timeout from the default of 60s to 300s (which
should be hopefully enough for now).
---
 php/run-php-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/php/run-php-tests.sh b/php/run-php-tests.sh
index 53216be..169d24f 100755
--- a/php/run-php-tests.sh
+++ b/php/run-php-tests.sh
@@ -44,4 +44,4 @@ printenv | grep -E '^(LIBGUESTFS|LIBVIRT|LIBVIRTD|VIRTLOCKD|LD|MALLOC)_' >> env
 TESTS=$(echo tests/guestfs_php_*.phpt)
 echo TESTS: $TESTS
 
-make test TESTS="$TESTS" PHP_EXECUTABLE="$PWD/php-for-tests.sh" REPORT_EXIT_STATUS=1
+make test TESTS="$TESTS" PHP_EXECUTABLE="$PWD/php-for-tests.sh" REPORT_EXIT_STATUS=1 TEST_TIMEOUT=300
-- 
1.8.3.1




More information about the Libguestfs mailing list