print pod name in error msg 2

This commit is contained in:
Felix Kunde 2020-04-18 17:14:15 +02:00
parent 77211e736a
commit 487ebbb96e
1 changed files with 1 additions and 1 deletions

View File

@ -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