iotests: increase timeouts for tests to 5 minutes
Currently we have tests timeout set to 3 minutes, on the basis that they're generally done in less than a minute. I've hit a couple of random failures suggesting that's not sufficiently pessimistic. Increase the timeout to 5 minutes to have a greater safety net in high load scenarios. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20260623160326.2346255-1-berrange@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Daniel P. Berrangé committed
Jun 23, 2026 at 17:03 UTC
29922afeae84a6c51f35d569da97c0b8c8fcc165
1 file changed
+7
-8
tests/qemu-iotests/meson.build
+7
-8
@@ -52,16 +52,17 @@ foreach driver, speed: qemu_iotests_drivers
52
'-tap', '-' + driver, item,
53
'--source-dir', meson.current_source_dir(),
54
'--build-dir', meson.current_build_dir()]
55
- # Some individual tests take as long as 45 seconds
56
- # Bump the timeout to 3 minutes for some headroom
57
- # on slow machines to minimize spurious failures
55
+ # Some individual tests take as long as 3 minutes
56
+ # in high load scenarios. Bump the timeout to 5
57
+ # minutes for some headroom on slow / loaded
58
+ # machines to minimize spurious failures
59
test('io-' + driver + '-' + item,
60
python,
61
args: args,
62
depends: qemu_iotests_binaries,
63
env: qemu_iotests_env,
64
protocol: 'tap',
64
- timeout: 180,
65
+ timeout: 300,
66
suite: suites)
67
endforeach
68
endif
@@ -94,16 +95,14 @@ foreach driver, speed: qemu_iotests_drivers
95
'-tap', '-' + driver, item,
96
'--source-dir', meson.current_source_dir(),
97
'--build-dir', meson.current_build_dir()]
97
- # Some individual tests take as long as 45 seconds
98
- # Bump the timeout to 3 minutes for some headroom
99
- # on slow machines to minimize spurious failures
98
+ # See earlier note about timeouts
99
test('io-' + driver + '-' + item,
100
python,
101
args: args,
102
depends: qemu_iotests_binaries,
103
env: qemu_iotests_env,
104
protocol: 'tap',
106
- timeout: 180,
105
+ timeout: 300,
106
suite: suites)
107
endforeach
108
endforeach