From d16dcbdb65e80ba938979a2ac845de60982ab287 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 11 Nov 2024 10:14:00 +0100 Subject: [PATCH] test: Ignore session timeout messages in TestIPA.testQualifiedUsers The test idles on the login page for more than the 60s authorize timeout. When running cockpit-session via unix socket, this causes some unsightly "session timed out during authentication" messages. This ought to be handled better in cockpit-ws, but for the time being ignore these messages. --- test/verify/check-system-realms | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/verify/check-system-realms b/test/verify/check-system-realms index 239a5fe15f24..d48f7a4b182b 100755 --- a/test/verify/check-system-realms +++ b/test/verify/check-system-realms @@ -275,6 +275,10 @@ class CommonTests: self.allow_journal_messages(".*No authentication agent found.*") # sometimes polling for info and joining a domain creates this noise self.allow_journal_messages('.*org.freedesktop.DBus.Error.Spawn.ChildExited.*') + # HACK: idling too long on the login page in Negotiate cockpit-session while polling for stuff + # (this should be fixed properly in cockpit-ws) + self.allow_journal_messages('.*session timed out during authentication') + self.allow_journal_messages('.*authentication timed out') def testUnqualifiedUsers(self): m = self.machine