Skip to content

Commit

Permalink
test: Allow error message for deliberately crashed hostnamed
Browse files Browse the repository at this point in the history
In `check-connection TestConnection.testBasic` we crash hostnamed to
verify core dumping. The bridge sometimes complains about not being able
to introspect hostnamed then.
  • Loading branch information
martinpitt committed May 22, 2017
1 parent 8b323af commit c302a26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/verify/check-connection
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ class TestConnection(MachineCase):
cores = m.execute("find /var/lib/systemd/coredump -type f")
self.assertNotEqual(cores, "")

self.allow_journal_messages(".*org.freedesktop.hostname1.*DBus.Error.NoReply.*")

def testTls(self):
m = self.machine

Expand Down

0 comments on commit c302a26

Please sign in to comment.