Skip to content

Commit

Permalink
test: Ignore session timeout messages in TestIPA.testQualifiedUsers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
martinpitt committed Nov 13, 2024
1 parent edf85ee commit d16dcbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/verify/check-system-realms
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d16dcbd

Please sign in to comment.