Skip to content

Commit

Permalink
Fix messaging + look for start now that compile is different step
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Oct 2, 2024
1 parent 1e0e5ab commit 8f83c1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/run-cypress-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ runs:
run: |
cd ./OpenSearch-Dashboards
echo "Start checking OpenSearch Dashboards."
for i in {1..60}; do
if grep -q "bundles compiled successfully after" "dashboard.log"; then
echo "OpenSearch Dashboards compiled successfully."
for i in {1..6}; do
if grep -q "http server running" "dashboard.log"; then
echo "OpenSearch Dashboards started successfully."
break
fi
if [ $i -eq 60 ]; then
echo "Timeout for 900 seconds reached. OpenSearch Dashboards did not finish compiling."
if [ $i -eq 6 ]; then
echo "Timeout for 60 seconds reached. OpenSearch Dashboards did not start."
exit 1
fi
sleep 10
Expand Down

0 comments on commit 8f83c1e

Please sign in to comment.