Skip to content

Commit

Permalink
open all e2e on ipv6 enabled runners
Browse files Browse the repository at this point in the history
  • Loading branch information
jijiechen committed Oct 29, 2024
1 parent 99931eb commit 22c213b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions test/e2e_env/kubernetes/kubernetes_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ var (
_ = Describe("Membership", membership.Membership, Ordered)
_ = Describe("Container Patch", container_patch.ContainerPatch, Ordered)
_ = Describe("Metrics", observability.ApplicationsMetrics, Ordered)
_ = FDescribe("Tracing", observability.Tracing, Ordered)
_ = FDescribe("MeshTrace", observability.PluginTest, Ordered)
_ = Describe("Tracing", observability.Tracing, Ordered)
_ = Describe("MeshTrace", observability.PluginTest, Ordered)
_ = Describe("Traffic Log", trafficlog.TCPLogging, Ordered)
_ = Describe("Inspect", inspect.Inspect, Ordered)
_ = Describe("K8S API Bypass", k8s_api_bypass.K8sApiBypass, Ordered)
Expand Down
7 changes: 2 additions & 5 deletions test/e2e_env/universal/meshratelimit/meshratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package meshratelimit

import (
"fmt"
"time"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

Expand Down Expand Up @@ -76,8 +74,8 @@ spec:
})

E2EAfterAll(func() {
//Expect(universal.Cluster.DeleteMeshApps(meshName)).To(Succeed())
//Expect(universal.Cluster.DeleteMesh(meshName)).To(Succeed())
Expect(universal.Cluster.DeleteMeshApps(meshName)).To(Succeed())
Expect(universal.Cluster.DeleteMesh(meshName)).To(Succeed())
})
requestRateLimited := func(container string, svc string, responseCode int) func(g Gomega) {
return func(g Gomega) {
Expand All @@ -104,7 +102,6 @@ spec:
}

It("should limit all sources", func() {
time.Sleep(time.Second * 10)
By("demo-client to test-server should be rate limited by mesh-rate-limit-all-sources")
Eventually(requestRateLimited("demo-client", "test-server", 429), "10s", "100ms").Should(Succeed())

Expand Down
6 changes: 3 additions & 3 deletions test/e2e_env/universal/universal_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func TestE2E(t *testing.T) {

var (
_ = E2ESynchronizedBeforeSuite(universal.SetupAndGetState, universal.RestoreState)
//_ = SynchronizedAfterSuite(func() {}, universal.SynchronizedAfterSuite)
//_ = ReportAfterSuite("universal after suite", universal.AfterSuite)
_ = SynchronizedAfterSuite(func() {}, universal.SynchronizedAfterSuite)
_ = ReportAfterSuite("universal after suite", universal.AfterSuite)
)

var (
Expand Down Expand Up @@ -97,7 +97,7 @@ var (
_ = Describe("Transparent Proxy", transparentproxy.TransparentProxy, Ordered)
_ = Describe("Mesh Traffic Permission", meshtrafficpermission.MeshTrafficPermissionUniversal, Ordered)
_ = Describe("GRPC", grpc.GRPC, Ordered)
_ = FDescribe("MeshRateLimit", meshratelimit.Policy, Ordered)
_ = Describe("MeshRateLimit", meshratelimit.Policy, Ordered)
_ = Describe("MeshTimeout", timeout.PluginTest, Ordered)
_ = Describe("Projected Service Account Token", projectedsatoken.ProjectedServiceAccountToken, Ordered)
_ = Describe("Compatibility", compatibility.UniversalCompatibility, Ordered)
Expand Down

0 comments on commit 22c213b

Please sign in to comment.