test: increase qemu timeout for TEST-18 and TEST-19
authorDan Streetman <ddstreet@canonical.com>
Thu, 15 Aug 2019 20:27:05 +0000 (16:27 -0400)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 18 Aug 2019 15:30:22 +0000 (00:30 +0900)
These tests runs under qemu, and on some testbeds, without acceleration.
On those systems, the current 180 second overall test timeout is too
short to run the test.

Increasing the timeout to 600s should be enough, even for slow
non-accelerated qemu testbeds.

test/TEST-18-FAILUREACTION/test.sh
test/TEST-19-DELEGATE/test.sh

index 5c9ca9e..503c5ca 100755 (executable)
@@ -3,7 +3,7 @@ set -e
 TEST_DESCRIPTION="FailureAction= operation"
 
 . $TEST_BASE_DIR/test-functions
-QEMU_TIMEOUT=180
+QEMU_TIMEOUT=600
 
 test_setup() {
     create_empty_image_rootdir
index abfb6a7..348c697 100755 (executable)
@@ -4,7 +4,7 @@ TEST_DESCRIPTION="test cgroup delegation in the unified hierarchy"
 TEST_NO_NSPAWN=1
 
 . $TEST_BASE_DIR/test-functions
-QEMU_TIMEOUT=180
+QEMU_TIMEOUT=600
 UNIFIED_CGROUP_HIERARCHY=yes
 
 test_setup() {