Commit 2078ccaf1c for qemu.org

commit 2078ccaf1c3dd0866638de399d139b8f6456a6fa
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date:   Wed May 13 12:25:16 2026 +0400

    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>

diff --git a/tests/qtest/dbus-vnc-test.c b/tests/qtest/dbus-vnc-test.c
index 2a1bf67b9d..8953a4b626 100644
--- a/tests/qtest/dbus-vnc-test.c
+++ b/tests/qtest/dbus-vnc-test.c
@@ -1309,6 +1309,16 @@ main(int argc, char **argv)
 {
     g_log_set_always_fatal(G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);

+    /*
+     * Flaky test:
+     * ERROR:../tests/qtest/dbus-vnc-test.c:621:test_dbus_vnc_password_auth:
+     * assertion failed (qemu_vnc1_server_get_auth(proxy) == "vnc"): ("none" ==
+     * "vnc")
+     */
+    if (!getenv("QEMU_TEST_FLAKY_TESTS")) {
+        g_test_skip("QEMU_TEST_FLAKY_TESTS not set");
+        return 0;
+    }
     if (getenv("GTK_VNC_DEBUG")) {
         vnc_util_set_debug(true);
     }