From 83849befd01f0255fff9aa4a1b4ca6ca7c3b281f Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Thu, 30 Apr 2020 09:53:18 +0200 Subject: [PATCH] add debug message for annotation tests --- e2e/tests/test_e2e.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/tests/test_e2e.py b/e2e/tests/test_e2e.py index 4113612da..3f461b672 100644 --- a/e2e/tests/test_e2e.py +++ b/e2e/tests/test_e2e.py @@ -732,6 +732,7 @@ class K8s: for svc in svcs: for key, value in annotations: if key not in svc.metadata.annotations or svc.metadata.annotations[key] != value: + print("Expected key {} not found in annotations {}".format(key, svc.metadata.annotation)) return False return True @@ -740,6 +741,7 @@ class K8s: for sset in ssets: for key, value in annotations: if key not in sset.metadata.annotations or sset.metadata.annotations[key] != value: + print("Expected key {} not found in annotations {}".format(key, sset.metadata.annotation)) return False return True