aboutsummaryrefslogtreecommitdiff
path: root/tests/cdrom-test.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-02-21 13:26:28 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-02-22 09:32:32 +0000
commit4300dadc00bec6d75283ffbe1fd85c2b442bef2d (patch)
tree5dac01e0064a07bab2b97080572f3a3b38976ef7 /tests/cdrom-test.c
parent4f575c08ca856f03fd5c8567f5ca9389433e3e66 (diff)
tests/cdrom-test: only include isapc cdrom test when g_test_slow()
We are seeing instability on our CI runs which has been there since the test was introduced. I suspect it triggers more on Travis due to their heavy load. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Acked-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/cdrom-test.c')
-rw-r--r--tests/cdrom-test.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c
index 14bd981336..05611da648 100644
--- a/tests/cdrom-test.c
+++ b/tests/cdrom-test.c
@@ -132,8 +132,14 @@ static void add_x86_tests(void)
qtest_add_data_func("cdrom/boot/virtio-scsi",
"-device virtio-scsi -device scsi-cd,drive=cdr "
"-blockdev file,node-name=cdr,filename=", test_cdboot);
- qtest_add_data_func("cdrom/boot/isapc", "-M isapc "
- "-drive if=ide,media=cdrom,file=", test_cdboot);
+ /*
+ * Unstable CI test under load
+ * See https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg05509.html
+ */
+ if (g_test_slow()) {
+ qtest_add_data_func("cdrom/boot/isapc", "-M isapc "
+ "-drive if=ide,media=cdrom,file=", test_cdboot);
+ }
qtest_add_data_func("cdrom/boot/am53c974",
"-device am53c974 -device scsi-cd,drive=cd1 "
"-drive if=none,id=cd1,format=raw,file=", test_cdboot);