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

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to