Skip to content

Commit

Permalink
Use nohup for osd setup
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jan 20, 2023
1 parent 118f9a7 commit 549afe5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ jobs:
echo 'opensearch_security.multitenancy.enable_aggregation_view: true' >> ./config/opensearch_dashboards.yml
echo 'logging.dest: osd.log' >> ./config/opensearch_dashboards.yml
cat ./config/opensearch_dashboards.yml
yarn start --no-base-path --no-watch &
nohup yarn start --no-base-path --no-watch &
sleep 500
cat osd.log
curl -XGET http://localhost:5601 -L
#cat osd.log
#curl -XGET http://localhost:5601 -L

#run node ../../scripts/opensearch-dashboards --dev --no-base-path &

Expand All @@ -104,7 +104,8 @@ jobs:
id: cypress_version
run: |
echo "::set-output name=cypress_version::$(cat ./${{ env.FTR_PATH }}/package.json | jq '.devDependencies.cypress' | tr -d '"')"
curl -XGET http://0.0.0.0:5601 -L
#curl -XGET http://0.0.0.0:5601 -L

- name: Run tests
uses: cypress-io/github-action@v2
Expand Down

0 comments on commit 549afe5

Please sign in to comment.