We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be2013 commit e9db6b3Copy full SHA for e9db6b3
heartbeat/tests/system/test_icmp.py
@@ -48,9 +48,8 @@ def has_failed_message(): return self.log_contains("Failed to initialize ICMP lo
48
self.wait_until(lambda: self.output_has(lines=1))
49
output = self.read_output()
50
monitor_status = output[0]["monitor.status"]
51
- monitor_error = output[0]["error.message"]
52
if has_failed_message():
53
assert monitor_status == "down"
54
- self.assertRegex(monitor_error, ".*Insufficient privileges to perform ICMP ping.*")
+ self.assertRegex(output[0]["error.message"], ".*Insufficient privileges to perform ICMP ping.*")
55
else:
56
assert monitor_status == "up"
0 commit comments