From bc9f62ba1283ec439c469b8d93896880f81872be Mon Sep 17 00:00:00 2001 From: Jacek Ewertowski Date: Tue, 16 Apr 2024 07:48:09 +0200 Subject: [PATCH] tests: fix flaky test federation/ha/TestDiscovery (#982) TestDiscovery is flaky, because weighted load balancing is not 100% accurate and it often fails for 2 requests. Signed-off-by: Jacek Ewertowski --- tests/integration/servicemesh/federation/ha/ha_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/servicemesh/federation/ha/ha_test.go b/tests/integration/servicemesh/federation/ha/ha_test.go index 891b1af03c..1bbddf3f4b 100644 --- a/tests/integration/servicemesh/federation/ha/ha_test.go +++ b/tests/integration/servicemesh/federation/ha/ha_test.go @@ -118,7 +118,7 @@ spec: aSecondary.CallOrFail(t, withDefaults(echo.CallOptions{ Address: fmt.Sprintf("b.%s.svc.cluster.local", ns.Name()), - Count: 2, + Count: 5, Check: check.And( check.GRPCStatus(codes.OK), check.ReachedClusters(t.AllClusters(), []cluster.Cluster{primary, secondary}),