You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/11/14 07:30:28 UTC

[GitHub] [openwhisk] chetanmeh commented on a change in pull request #4724: Implement an ElasticSearchActivationStore

chetanmeh commented on a change in pull request #4724: Implement an ElasticSearchActivationStore
URL: https://github.com/apache/openwhisk/pull/4724#discussion_r346159261
 
 

 ##########
 File path: tools/travis/setupPrereq.sh
 ##########
 @@ -32,5 +32,13 @@ $ANSIBLE_CMD couchdb.yml
 $ANSIBLE_CMD initdb.yml
 $ANSIBLE_CMD wipe.yml
 
+# deploy es for unittest
+$ANSIBLE_CMD elasticsearch.yml
+export ELASTIC_PROTOCOL="http"
+export ELASTIC_HOSTS="localhost:9200"
+export ELASTIC_INDEX_PATTERN="unittest-%s"
+export ELASTIC_USERNAME="admin"
+export ELASTIC_PASSWORD="admin"
+
 
 Review comment:
   For test we can also look into using [TestContainers ElasticSearch][1] support. Then you would not need to deploy an ES container via ansible just for test runs
   
   [1]: https://www.testcontainers.org/modules/elasticsearch/

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services