From 35dc6a13ad882cd1ab96150e8d8901041c15604a Mon Sep 17 00:00:00 2001 From: Mike Beaumont Date: Mon, 28 Oct 2024 19:24:08 +0100 Subject: [PATCH] test(e2e): improve reachable services expectation to allow DNS timeouts (#11894) ## Motivation We suspect DNS lookups themselves are timing out and [causing flakes](https://github.com/kumahq/kuma/actions/runs/11514774996/job/32152139325). This may be related to https://github.com/kumahq/kuma/pull/11862 Similar to https://github.com/kumahq/kuma/pull/11874 Signed-off-by: Mike Beaumont --- test/e2e_env/kubernetes/reachableservices/reachableservices.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_env/kubernetes/reachableservices/reachableservices.go b/test/e2e_env/kubernetes/reachableservices/reachableservices.go index 8cd27a34d9f9..99fb28aa0d6e 100644 --- a/test/e2e_env/kubernetes/reachableservices/reachableservices.go +++ b/test/e2e_env/kubernetes/reachableservices/reachableservices.go @@ -62,7 +62,7 @@ func ReachableServices() { ) // then it fails because Kuma DP has no such DNS g.Expect(err).ToNot(HaveOccurred()) - g.Expect(response.Exitcode).To(Equal(6)) + g.Expect(response.Exitcode).To(Or(Equal(6), Equal(28))) }).Should(Succeed()) Consistently(func(g Gomega) {