|
@@ -2572,8 +2572,14 @@ int main(int argc, char **argv)
|
|
|
qtest_add_func("/migration/auto_converge", test_migrate_auto_converge);
|
|
|
qtest_add_func("/migration/multifd/tcp/plain/none",
|
|
|
test_multifd_tcp_none);
|
|
|
- qtest_add_func("/migration/multifd/tcp/plain/cancel",
|
|
|
- test_multifd_tcp_cancel);
|
|
|
+ /*
|
|
|
+ * This test is flaky and sometimes fails in CI and otherwise:
|
|
|
+ * don't run unless user opts in via environment variable.
|
|
|
+ */
|
|
|
+ if (getenv("QEMU_TEST_FLAKY_TESTS")) {
|
|
|
+ qtest_add_func("/migration/multifd/tcp/plain/cancel",
|
|
|
+ test_multifd_tcp_cancel);
|
|
|
+ }
|
|
|
qtest_add_func("/migration/multifd/tcp/plain/zlib",
|
|
|
test_multifd_tcp_zlib);
|
|
|
#ifdef CONFIG_ZSTD
|