Skip to content

Commit 868acc9

Browse files
committed
simplify test
1 parent b6d57b4 commit 868acc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/templates/kuttl/smoke/test_zookeeper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ def check_monitoring(hosts):
7474

7575
if response.ok:
7676
# arbitrary metric was chosen to test if metrics are present in the response
77-
if "quorum_size" in response.text:
78-
continue
79-
else:
77+
if "quorum_size" not in response.text:
8078
print("Error for [" + url + "]: missing metrics")
8179
exit(-1)
8280
else:

0 commit comments

Comments
 (0)