tests/qtest: add a timeout for subprocess_run_one_test
commitebaa07083b57aab2d2dabf86d9bf172f43bad7a6
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 Aug 2022 09:50:03 +0000 (2 10:50 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (7 09:41 -0400)
tree178bd8f55a430b7c1499575cc8d4ac55a3f61aaf
parentbbd971153745ca2aa9a26b7d6370374ef559a328
tests/qtest: add a timeout for subprocess_run_one_test

Hangs have been observed in the tests and currently we don't timeout
if a subprocess hangs. Rectify that.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220802095010.3330793-16-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
tests/qtest/qos-test.c