Commit 7940f77 1 parent 273fa8f commit 7940f77 Copy full SHA for 7940f77
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 @@ -72,17 +72,17 @@ jobs:
72
72
if : env.imagePresent == 'true'
73
73
run : |
74
74
cd ..
75
- docker run -p 9200:9200 -d -p 9600:9600 -e "discovery.type=single-node" opensearch-geospatial:test
75
+ docker run -p 9200:9200 -d -p 9600:9600 -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!" -e " discovery.type=single-node" opensearch-geospatial:test
76
76
sleep 90
77
77
78
78
- name : Run Geospatial Integ Test
79
79
if : env.imagePresent == 'true'
80
80
run : |
81
- security=`curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure |grep opensearch-security|wc -l`
81
+ security=`curl -XGET https://localhost:9200/_cat/plugins?v -u admin:myStrongPassword123! --insecure |grep opensearch-security|wc -l`
82
82
if [ $security -gt 0 ]
83
83
then
84
84
echo "Security plugin is available"
85
- ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -Dhttps=true -Duser=admin -Dpassword=admin
85
+ ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -Dhttps=true -Duser=admin -Dpassword=myStrongPassword123!
86
86
else
87
87
echo "Security plugin is NOT available, skipping integration tests"
88
88
fi
You can’t perform that action at this time.
0 commit comments