From ce73d94abdf8e236cfbcd9beb5b4494fd74c9492 Mon Sep 17 00:00:00 2001 From: Julien Mailleret Date: Thu, 19 Mar 2020 16:08:01 +0100 Subject: [PATCH] [logstash] fix tests --- logstash/tests/logstash_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash/tests/logstash_test.py b/logstash/tests/logstash_test.py index 60507ac54..2b291305e 100755 --- a/logstash/tests/logstash_test.py +++ b/logstash/tests/logstash_test.py @@ -79,7 +79,7 @@ def test_defaults(): # Service assert "serviceName" in r["statefulset"][name]["spec"] - assert "service" not in r + assert r["service"][name]["spec"]["ports"][0]["port"] == 8080 # Other assert r["statefulset"][name]["spec"]["template"]["spec"]["securityContext"] == {