From 5da3eff7764e4dae963ca9883f8d5dc843b47d67 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Fri, 8 Nov 2024 15:44:35 -0300 Subject: [PATCH] Change wait time --- .github/workflows/deployment-test.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deployment-test.yml b/.github/workflows/deployment-test.yml index 2c88d8dc..cd318da8 100644 --- a/.github/workflows/deployment-test.yml +++ b/.github/workflows/deployment-test.yml @@ -84,8 +84,8 @@ jobs: - name: Deploy Wazuh stack run: kubectl apply -k envs/eks/ - - name: Wait 5 minutes for Wazuh stack startup - run: sleep 5m + - name: Wait 10 minutes for Wazuh stack startup + run: sleep 10m - name: View stack status run: kubectl get all -n wazuh -o wide @@ -147,7 +147,6 @@ jobs: - name: Check documents into wazuh-alerts index run: | - sleep 120 docs="`curl -XGET "${{ env.INDEXER_URL }}/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`" if [[ $docs -gt 0 ]]; then echo "wazuh-alerts index documents: ${docs}" @@ -237,8 +236,8 @@ jobs: - name: Deploy Wazuh stack run: kubectl apply -k envs/local-env/ - - name: Wait 5 minutes for Wazuh stack startup - run: sleep 5m + - name: Wait 10 minutes for Wazuh stack startup + run: sleep 10m - name: View stack status run: kubectl get all -n wazuh -o wide @@ -291,7 +290,6 @@ jobs: - name: Check documents into wazuh-alerts index run: | - sleep 120 docs="`curl -XGET "${{ env.INDEXER_URL }}/wazuh-alerts*/_count" -u admin:SecretPassword -k -s | jq -r ".count"`" if [[ $docs -gt 0 ]]; then echo "wazuh-alerts index documents: ${docs}"