Skip to content

Commit

Permalink
look for server running instead of bundles compiled
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Oct 1, 2024
1 parent 8a9990b commit 0548091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/run-cypress-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ runs:
run: |
cd ./OpenSearch-Dashboards
if [ -z "${{ inputs.osd_base_path }}" ]; then
yarn start --no-base-path --csp.warnLegacyBrowsers=false
nohup yarn start --no-base-path --no-watch --csp.warnLegacyBrowsers=false | tee dashboard.log &
else
yarn start --csp.warnLegacyBrowsers=false
nohup yarn start --no-watch --csp.warnLegacyBrowsers=false | tee dashboard.log &
fi
shell: bash

Expand All @@ -81,7 +81,7 @@ runs:
cd ./OpenSearch-Dashboards
echo "Start checking OpenSearch Dashboards."
for i in {1..60}; do
if grep -q "bundles compiled successfully after" "dashboard.log"; then
if grep -q "http server running at" "dashboard.log"; then
echo "OpenSearch Dashboards compiled successfully."
break
fi
Expand Down

0 comments on commit 0548091

Please sign in to comment.