We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e0e5ab commit 8f83c1eCopy full SHA for 8f83c1e
.github/actions/run-cypress-tests/action.yml
@@ -86,13 +86,13 @@ runs:
86
run: |
87
cd ./OpenSearch-Dashboards
88
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."
+ for i in {1..6}; do
+ if grep -q "http server running" "dashboard.log"; then
+ echo "OpenSearch Dashboards started successfully."
92
break
93
fi
94
- if [ $i -eq 60 ]; then
95
- 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."
96
exit 1
97
98
sleep 10
0 commit comments