Skip to content

Commit

Permalink
webui: tests: restart cockpit-ws between tests
Browse files Browse the repository at this point in the history
It has been noticed that cockpit-ws might present the login page now and
then after multiple test runs against the same test VM.
  • Loading branch information
KKoukiou committed Jul 11, 2023
1 parent 76386b9 commit de42f4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/webui/test/anacondalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ class VirtInstallMachineCase(MachineCase):
def setUp(self):
super().setUp()

self.machine.execute("systemctl restart cockpit")
self.allow_journal_messages('.*cockpit.bridge-WARNING: Could not start ssh-agent.*')

0 comments on commit de42f4c

Please sign in to comment.