Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDet committed Dec 9, 2023
1 parent 4d61d75 commit 22120c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/python/tests/json_logs/test_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ def test_master_sigbus(self):

def test_master_sigabrt(self):
self.kphp_server.send_signal(signal.SIGABRT)
self.kphp_server.restart()
with self.assertRaises(RuntimeError):
self.kphp_server.stop()
self.kphp_server.start()
self.kphp_server.assert_json_log(
expect=[{
"version": 0, "type": -1, "env": "", "msg": "SIGABRT terminating program",
Expand Down

0 comments on commit 22120c5

Please sign in to comment.