Skip to content

Commit 11ccd59

Browse files
committed
e2e
1 parent 9f8b238 commit 11ccd59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/e2e/test_istio_kafka_cluster.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ func testInstallKafkaClusterWithIstio(configPath string) bool {
4040
})
4141

4242
ginkgo.It("Waiting for Kafka cluster to be ready", func() {
43-
// Wait for Kafka cluster to be ready
44-
time.Sleep(30 * time.Second)
43+
// Wait for Kafka cluster to be ready using the same method as other tests
44+
err := waitForKafkaClusterWithPodStatusCheck(kubectlOptions, kafkaClusterName, kafkaClusterCreateTimeout)
45+
gomega.Expect(err).NotTo(gomega.HaveOccurred())
4546
})
4647
})
4748
}

0 commit comments

Comments
 (0)