Skip to content

Commit

Permalink
chore(e2e): supplement FlakeAttempts for flaky tests (#11491)
Browse files Browse the repository at this point in the history
* chore(e2e): supplement FlakeAttempts for flaky tests

Signed-off-by: Icarus Wu <icaruswu66@qq.com>

* add issue for tracing

Signed-off-by: Icarus Wu <icaruswu66@qq.com>

* supplement FlakeAttempts for Federation flaky e2e tests

Signed-off-by: Icarus Wu <icaruswu66@qq.com>

---------

Signed-off-by: Icarus Wu <icaruswu66@qq.com>
  • Loading branch information
Icarus9913 authored Sep 20, 2024
1 parent 17fe056 commit 8d192c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/e2e/federation/federation_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ func TestE2E(t *testing.T) {

var (
_ = Describe("Federation with Kube Global", Label("job-3"), federation.FederateKubeZoneCPToKubeGlobal, Ordered)
_ = Describe("Federation with Universal Global", Label("job-3"), federation.FederateKubeZoneCPToUniversalGlobal, Ordered)
// TODO: fix the flaky test in the future https://github.com/kumahq/kuma/issues/11420
_ = Describe("Federation with Universal Global", Label("job-3"), federation.FederateKubeZoneCPToUniversalGlobal, Ordered, FlakeAttempts(3))
)
3 changes: 2 additions & 1 deletion test/e2e_env/universal/universal_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ var (
_ = Describe("Reachable Services", reachableservices.ReachableServices, Ordered)
_ = Describe("Apis", api.Api, Ordered)
_ = Describe("Traffic Permission", trafficpermission.TrafficPermission, Ordered)
_ = Describe("Traffic Route", trafficroute.TrafficRoute, Ordered)
// TODO: fix the flaky test in the future https://github.com/kumahq/kuma/issues/11492
_ = Describe("Traffic Route", trafficroute.TrafficRoute, Ordered, FlakeAttempts(3))
_ = Describe("Zone Egress", zoneegress.ExternalServices, Ordered)
_ = Describe("Virtual Outbound", virtualoutbound.VirtualOutbound, Ordered)
_ = Describe("Transparent Proxy", transparentproxy.TransparentProxy, Ordered)
Expand Down

0 comments on commit 8d192c7

Please sign in to comment.