From 487ebbb96e3660117ce9ae8158aee66a4ed11cde Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Sat, 18 Apr 2020 17:14:15 +0200 Subject: [PATCH] print pod name in error msg 2 --- e2e/tests/test_e2e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/tests/test_e2e.py b/e2e/tests/test_e2e.py index 042967501..805d254a3 100644 --- a/e2e/tests/test_e2e.py +++ b/e2e/tests/test_e2e.py @@ -235,7 +235,7 @@ class EndToEndTestCase(unittest.TestCase): # sanity check: restarted pod runs the image specified in operator's conf new_image = k8s.get_effective_pod_image(replica_pod) self.assertEqual(conf_image, new_image, - "Lazy upgrade failed: restarted pod runs image {} different from the one in operator conf {}".format(new_image, conf_image)) + "Lazy upgrade failed: restarted pod {} runs image {} different from the one in operator conf {}".format(replica_pod, new_image, conf_image)) # lazy update works if the restarted pod and older pods have different Spilo versions # i.e. the update did not immediately affect all pods