Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[logstash] remove expected logstash host and name assertion (#724)
Browse files Browse the repository at this point in the history
This commit remove expected Logstash host and name in Logstash tests with 6.x.

When using a headless service (4a6067e), Logstash 6.x use the full name of the service related to the namespace (ie: helm-logstash-default-logstash-0.helm-logstash-oss-logstash-headless.helm-charts-testing.svc.cluster.local). Keeping this test would require a hard coupling between the test and the namespace where it is running.
  • Loading branch information
jmlrt committed Jul 13, 2020
1 parent af288a9 commit 4417214
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions logstash/examples/default/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ http:
status: 200
timeout: 2000
body:
- '"host" : "helm-logstash-default-logstash-0"'
- '"version" : "6.8.11"'
- '"http_address" : "0.0.0.0:9600"'
- '"name" : "helm-logstash-default-logstash-0"'

file:
/usr/share/logstash/config/logstash.yml:
Expand Down
2 changes: 0 additions & 2 deletions logstash/examples/elasticsearch/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ http:
status: 200
timeout: 2000
body:
- '"host" : "helm-logstash-elasticsearch-logstash-0"'
- '"version" : "6.8.11"'
- '"http_address" : "0.0.0.0:9600"'
- '"name" : "helm-logstash-elasticsearch-logstash-0"'
http://elasticsearch-master:9200/_cat/indices:
status: 200
timeout: 2000
Expand Down
2 changes: 0 additions & 2 deletions logstash/examples/oss/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ http:
status: 200
timeout: 2000
body:
- '"host" : "helm-logstash-oss-logstash-0"'
- '"version" : "6.8.11"'
- '"http_address" : "0.0.0.0:9600"'
- '"name" : "helm-logstash-oss-logstash-0"'

file:
/usr/share/logstash/config/logstash.yml:
Expand Down
2 changes: 0 additions & 2 deletions logstash/examples/security/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ http:
status: 200
timeout: 2000
body:
- '"host" : "helm-logstash-security-logstash-0"'
- '"version" : "6.8.11"'
- '"http_address" : "0.0.0.0:9600"'
- '"name" : "helm-logstash-security-logstash-0"'
https://security-master:9200/_cat/indices:
status: 200
timeout: 2000
Expand Down

0 comments on commit 4417214

Please sign in to comment.