@samitouri / QOSamiQemu / commits / 2078ccaf1c

test/dbus-vnc-test: skip it for now

For some reason, the VNC auth setup sometime fails in CI. Disable until it is figured out. Reported-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20260513082517.1720433-1-marcandre.lureau@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

Marc-André Lureau committed May 13, 2026 at 12:25 UTC 2078ccaf1c3dd0866638de399d139b8f6456a6fa
1 file changed +10
tests/qtest/dbus-vnc-test.c
+10
@@ -1309,6 +1309,16 @@ main(int argc, char **argv)
1309 {
1310 g_log_set_always_fatal(G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
1311
1312 + /*
1313 + * Flaky test:
1314 + * ERROR:../tests/qtest/dbus-vnc-test.c:621:test_dbus_vnc_password_auth:
1315 + * assertion failed (qemu_vnc1_server_get_auth(proxy) == "vnc"): ("none" ==
1316 + * "vnc")
1317 + */
1318 + if (!getenv("QEMU_TEST_FLAKY_TESTS")) {
1319 + g_test_skip("QEMU_TEST_FLAKY_TESTS not set");
1320 + return 0;
1321 + }
1322 if (getenv("GTK_VNC_DEBUG")) {
1323 vnc_util_set_debug(true);
1324 }