Skip to content

Commit 118e33d

Browse files
authored
Merge pull request kubernetes#72092 from vllry/move-gce-test-manifests
Move e2e ingress test manifests for GCE to a subdirectory
2 parents 517922f + 579764e commit 118e33d

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed

test/e2e/framework/ingress/ingress_utils.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ const (
8686
// IngressManifestPath is the parent path to yaml test manifests.
8787
IngressManifestPath = "test/e2e/testing-manifests/ingress"
8888

89+
// GCEIngressManifestPath is the parent path to GCE-specific yaml test manifests.
90+
GCEIngressManifestPath = IngressManifestPath + "/gce"
91+
8992
// IngressReqTimeout is the timeout on a single http request.
9093
IngressReqTimeout = 10 * time.Second
9194

test/e2e/network/ingress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ var _ = SIGDescribe("Loadbalancing: L7", func() {
904904
It("single and multi-cluster ingresses should be able to exist together", func() {
905905
By("Creating a single cluster ingress first")
906906
jig.Class = ""
907-
singleIngFilePath := filepath.Join(ingress.IngressManifestPath, "static-ip-2")
907+
singleIngFilePath := filepath.Join(ingress.GCEIngressManifestPath, "static-ip-2")
908908
jig.CreateIngress(singleIngFilePath, ns, map[string]string{}, map[string]string{})
909909
jig.WaitForIngress(false /*waitForNodePort*/)
910910
// jig.Ingress will be overwritten when we create MCI, so keep a reference.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/e2e/upgrades/ingress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (t *IngressUpgradeTest) Setup(f *framework.Framework) {
9898

9999
// Create a working basic Ingress
100100
ginkgo.By(fmt.Sprintf("allocated static ip %v: %v through the GCE cloud provider", t.ipName, t.ip))
101-
jig.CreateIngress(filepath.Join(ingress.IngressManifestPath, "static-ip-2"), ns.Name, map[string]string{
101+
jig.CreateIngress(filepath.Join(ingress.GCEIngressManifestPath, "static-ip-2"), ns.Name, map[string]string{
102102
ingress.IngressStaticIPKey: t.ipName,
103103
ingress.IngressAllowHTTPKey: "false",
104104
}, map[string]string{})

0 commit comments

Comments
 (0)