Skip to content

Commit

Permalink
test: Silence unexpected message about failed VNC connection
Browse files Browse the repository at this point in the history
Stopping the VM while the console page is open also severs the
connection to the VNC port (as the VNC server is going down). Ignore the
corresponding error message.
  • Loading branch information
martinpitt committed Nov 11, 2021
1 parent e526978 commit bfdefe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/check-machines-consoles
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class TestMachinesConsoles(VirtualMachinesCase):
".*Connection reset by peer")
self.allow_browser_errors("Disconnection timed out.")
self.allow_journal_messages(".* couldn't shutdown fd: Transport endpoint is not connected")
self.allow_journal_messages("127.0.0.1:5900: couldn't read: Connection refused")

def testSwitchConsoleFromSerialToGraphical(self):
b = self.browser
Expand Down

0 comments on commit bfdefe4

Please sign in to comment.