Revert test changes

This commit is contained in:
vcerenu
2024-07-11 14:28:12 -03:00
parent b60e875962
commit 1e261c165e
2 changed files with 2 additions and 2 deletions

2
.github/.goss.yaml vendored
View File

@@ -56,7 +56,7 @@ package:
wazuh-manager:
installed: true
versions:
- 4.8.1-1
- 4.8.1
port:
tcp:1514:
listening: true

View File

@@ -270,7 +270,7 @@ jobs:
sleep 10
done
docs="`curl -XGET "https://0.0.0.0:9200/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`"
if [[ $docs -gt 1 ]]; then
if [[ $docs -gt 0 ]]; then
echo "wazuh-alerts index documents: ${docs}"
else
echo "wazuh-alerts index documents: ${docs}"