Skip to content

Commit

Permalink
Add OpenSearch test
Browse files Browse the repository at this point in the history
  • Loading branch information
d-stefanovic committed Apr 22, 2024
1 parent 3219e81 commit 3f29bfe
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/sem_service/opensearch
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,19 @@ curl -XGET 'https://0.0.0.0:9200' -ksu admin:admin | grep number | grep 1.3.9
sem-service stop opensearch
sem-service start opensearch 2.6.0
sleep 5
curl -XGET 'https://0.0.0.0:9200' -ksu admin:admin | grep number |grep 2.6.0
curl -XGET 'https://0.0.0.0:9200' -ksu admin:admin | grep number | grep 2.6.0

sem-service stop opensearch
sem-service start opensearch 2.7.0
sleep 5
curl -XGET 'https://0.0.0.0:9200' -ksu admin:admin | grep number |grep 2.7.0
curl -XGET 'https://0.0.0.0:9200' -ksu admin:admin | grep number | grep 2.7.0
sem-service stop opensearch

sem-service stop opensearch
sem-service start opensearch 2.7.0 -e '"ES_JAVA_OPTS=-Xms256m -Xmx256m"'
sleep 5
curl -XGET 'https://0.0.0.0:9200' -ksu admin:admin | grep number | grep 2.7.0
docker inspect elasticsearch | grep '"ES_JAVA_OPTS=-Xms256m -Xmx256m"'
sem-service stop opensearch

cat /tmp/toolbox_semservice

0 comments on commit 3f29bfe

Please sign in to comment.