Skip to content

Commit

Permalink
tests: fix flaky test federation/ha/TestDiscovery (#982)
Browse files Browse the repository at this point in the history
TestDiscovery is flaky, because weighted load balancing is not 100%
accurate and it often fails for 2 requests.

Signed-off-by: Jacek Ewertowski <[email protected]>
  • Loading branch information
jewertow authored and yannuil committed Jun 3, 2024
1 parent be5b13e commit bc9f62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/servicemesh/federation/ha/ha_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}),
Expand Down

0 comments on commit bc9f62b

Please sign in to comment.