Commit 2b712bc 1 parent e70aa78 commit 2b712bc Copy full SHA for 2b712bc
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,16 +115,16 @@ jobs:
115
115
if : env.imagePresent == 'true'
116
116
run : |
117
117
cd ..
118
- docker run -p 9200:9200 -d -p 9600:9600 -e "discovery.type=single-node" opensearch-asynchronous-search:test
118
+ docker run -p 9200:9200 -d -p 9600:9600 -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!" -e " discovery.type=single-node" opensearch-asynchronous-search:test
119
119
sleep 90
120
120
- name : Run Asynchronous Search Test
121
121
if : env.imagePresent == 'true'
122
122
run : |
123
- security=`curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure |grep opensearch-security|wc -l`
123
+ security=`curl -XGET https://localhost:9200/_cat/plugins?v -u admin:myStrongPassword123! --insecure |grep opensearch-security|wc -l`
124
124
if [ $security -gt 0 ]
125
125
then
126
126
echo "Security plugin is available"
127
- ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -Dhttps=true -Duser=admin -Dpassword=admin
127
+ ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -Dhttps=true -Duser=admin -Dpassword=myStrongPassword123!
128
128
else
129
129
echo "Security plugin is NOT available"
130
130
./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster"
You can’t perform that action at this time.
0 commit comments