From 1974cfc48d904034d9b9c7b9da012ac50492ef64 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Tue, 9 Feb 2021 18:44:33 +0100 Subject: [PATCH] just use assertTrue --- 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 4458b6c5f..387170427 100644 --- a/e2e/tests/test_e2e.py +++ b/e2e/tests/test_e2e.py @@ -806,7 +806,7 @@ class EndToEndTestCase(unittest.TestCase): # check that the old master has been recreated k8s.wait_for_pod_start('spilo-role=replica,' + cluster_label) replica = k8s.get_cluster_replica_pod() - self.eventuallyTrue(replica.metadata.creation_timestamp > old_creation_timestamp, "Old master pod was not recreated") + self.assertTrue(replica.metadata.creation_timestamp > old_creation_timestamp, "Old master pod was not recreated") except timeout_decorator.TimeoutError: