Skip to content

Commit

Permalink
test: Log out of cockpit in testInsightsStatus
Browse files Browse the repository at this point in the history
Our directory watches keep /etc/insights-client busy, so that it cannot
be unmounted during cleanup. Explicitly log out to prevent that.
  • Loading branch information
martinpitt committed Jul 19, 2023
1 parent 1d8864a commit 7d5ffd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/verify/check-system-info
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ password=foobar
b.become_superuser()
b.wait_in_text(".system-health-insights a", "3 hits, including important")
self.assertIn("123-nice-id", b.attr(".system-health-insights a", "href"))
b.logout()

def testOverview(self):
m = self.machine
Expand Down

0 comments on commit 7d5ffd7

Please sign in to comment.