Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh committed Feb 1, 2023
1 parent b4bffa2 commit b904dab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
cd opensearch-${{ env.VERSION }}/
if [ "$SECURITY_ENABLED" = 'false' ]; then
echo "Remove OpenSearch Security"
echo "plugins.security.disabled: true" >> config/opensearch.yml
[ -d "plugins/opensearch-security" ] && echo "plugins.security.disabled: true" >> config/opensearch.yml
nohup ./opensearch-windows-install.bat &
timeout 900 bash -c 'while [[ "$(curl -o /dev/null -w ''%{http_code}'' http://localhost:9200)" != "200" ]]; do echo sleeping 5; sleep 5; done'
curl -s http://localhost:9200/_cluster/health?pretty
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-e2e-workflow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
cd opensearch-${{ env.VERSION }}/
if [ "$SECURITY_ENABLED" = 'false' ]; then
echo "Remove OpenSearch Security"
echo "plugins.security.disabled: true" >> config/opensearch.yml
[ -d "plugins/opensearch-security" ] && echo "plugins.security.disabled: true" >> config/opensearch.yml
./opensearch-tar-install.sh &
timeout 900 bash -c 'while [[ "$(curl -o /dev/null -w ''%{http_code}'' http://localhost:9200)" != "200" ]]; do sleep 5; done'
curl http://localhost:9200
Expand Down

0 comments on commit b904dab

Please sign in to comment.