diff --git a/systemtests/src/test/java/io/enmasse/systemtest/bases/common/PersistentMessagesTestBase.java b/systemtests/src/test/java/io/enmasse/systemtest/bases/common/PersistentMessagesTestBase.java index 8a746e8526d..ea0ffa3bed1 100644 --- a/systemtests/src/test/java/io/enmasse/systemtest/bases/common/PersistentMessagesTestBase.java +++ b/systemtests/src/test/java/io/enmasse/systemtest/bases/common/PersistentMessagesTestBase.java @@ -37,6 +37,9 @@ public class PersistentMessagesTestBase extends TestBaseWithShared { protected void doTestQueuePersistentMessages(Address address, int messagesBatch) throws Exception { setAddresses(address); + // Wait for the first console pod to be terminated + TestUtils.waitUntilDeployed(kubernetes.getInfraNamespace()); + int podCount = kubernetes.listPods().size(); sendDurableMessages(getSharedAddressSpace(), address, defaultCredentials, messagesBatch);