diff --git a/tests/e2e/startup/startup_test.go b/tests/e2e/startup/startup_test.go index 5bcebf091947..0b370964bdaf 100644 --- a/tests/e2e/startup/startup_test.go +++ b/tests/e2e/startup/startup_test.go @@ -246,10 +246,8 @@ var _ = Describe("Various Startup Configurations", Ordered, func() { It("Collects logs from a pod", func() { cmd := "kubectl logs -n kube-system -l app.kubernetes.io/name=traefik -c traefik" - Eventually(func() error { - _, err := e2e.RunCommand(cmd) - return err - }, "360s", "5s").Should(Succeed()) + _, err := e2e.RunCommand(cmd) + Expect(err).NotTo(HaveOccurred()) }) It("Kills the cluster", func() {