Skip to content

Commit

Permalink
webui: tests: expect reboot when killing the webui-desktop script
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Oct 26, 2023
1 parent 0b72ee8 commit 7b1a5ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/webui/src/helpers/exit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export const exitGui = () => {
console.log("Killing WebUI process, PID: ", pid);
return cockpit.spawn(["kill", pid]);
})
.catch(() => console.error("Failed to kill WebUI process, PID: ", pid))
.catch(exc => console.error("Failed to kill WebUI process, PID: ", pid, exc.message))
.finally(pidFile.close);
};
2 changes: 1 addition & 1 deletion ui/webui/test/check-progress
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TestInstallationProgress(anacondalib.VirtInstallMachineCase):
def testBasic(self):
# HACK Ignore some selinux errors
self.allow_journal_messages(".*denied.*comm=\"tar\" name=\"/\".*")
self.allow_browser_errors(".*client closed.*")
self.allow_browser_errors(".*Server has closed the connection.*")

b = self.browser
m = self.machine
Expand Down

0 comments on commit 7b1a5ae

Please sign in to comment.