From 8467ee6b21e0c14878d97d3a207f5a328d63aede Mon Sep 17 00:00:00 2001 From: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Date: Wed, 6 Jan 2021 18:32:48 +0100 Subject: [PATCH] update tests with credentials --- elasticsearch/examples/config/test/goss.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elasticsearch/examples/config/test/goss.yaml b/elasticsearch/examples/config/test/goss.yaml index 51c4907f5..455da3603 100644 --- a/elasticsearch/examples/config/test/goss.yaml +++ b/elasticsearch/examples/config/test/goss.yaml @@ -2,6 +2,8 @@ http: http://localhost:9200/_cluster/health: status: 200 timeout: 2000 + username: "{{ .Env.ELASTIC_USERNAME }}" + password: "{{ .Env.ELASTIC_PASSWORD }}" body: - "green" - '"number_of_nodes":1' @@ -10,6 +12,8 @@ http: http://localhost:9200: status: 200 timeout: 2000 + username: "{{ .Env.ELASTIC_USERNAME }}" + password: "{{ .Env.ELASTIC_PASSWORD }}" body: - '"cluster_name" : "config"' - "You Know, for Search"