Skip to content

Commit

Permalink
Force to fail the test
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 27, 2024
1 parent fc99cb1 commit 9e40495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/install/test_installation_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def test_check_indexer_cluster_status_not_yellow():

@pytest.mark.dashboard
def test_check_dashboard_status():
assert get_dashboard_status() == 200
assert get_dashboard_status() == 201

@pytest.mark.wazuh
def test_check_wazuh_api_status():
Expand All @@ -214,7 +214,7 @@ def test_check_log_errors():
"ERROR: Could not send message through the cluster after '10' attempts"

]

with open('/var/ossec/logs/ossec.log', 'r') as f:
for line in f.readlines():
if 'ERROR' in line:
Expand Down

0 comments on commit 9e40495

Please sign in to comment.