Skip to content

tests: Don’t exit gdbus-method-invocation test early on connection close

Philip Withnall requested to merge pwithnall/glib:test-dbus-exit-on-close into main

There’s (deliberately) a bit of race in implementing/handling CloseBeforeReturning() in gdbus-method-invocation.c. If the server closes the D-Bus connection early, the client may exit with SIGTERM if GDBusConnection:exit-on-close is set. We don’t want that, as the test is trying to check that the default handling of a D-Bus method return after a connection has closed works.

See https://gnome.pages.gitlab.gnome.org/-/glib/-/jobs/1935191/artifacts/_build/meson-logs/testlog.txt

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports