Skip to content

Commit 8f83c1e

Browse files
committed
Fix messaging + look for start now that compile is different step
Signed-off-by: Derek Ho <dxho@amazon.com>
1 parent 1e0e5ab commit 8f83c1e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/actions/run-cypress-tests/action.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ runs:
8686
run: |
8787
cd ./OpenSearch-Dashboards
8888
echo "Start checking OpenSearch Dashboards."
89-
for i in {1..60}; do
90-
if grep -q "bundles compiled successfully after" "dashboard.log"; then
91-
echo "OpenSearch Dashboards compiled successfully."
89+
for i in {1..6}; do
90+
if grep -q "http server running" "dashboard.log"; then
91+
echo "OpenSearch Dashboards started successfully."
9292
break
9393
fi
94-
if [ $i -eq 60 ]; then
95-
echo "Timeout for 900 seconds reached. OpenSearch Dashboards did not finish compiling."
94+
if [ $i -eq 6 ]; then
95+
echo "Timeout for 60 seconds reached. OpenSearch Dashboards did not start."
9696
exit 1
9797
fi
9898
sleep 10

0 commit comments

Comments
 (0)