Skip to content

Commit 2dac94e

Browse files
committed
BUG/MINOR: e2e: use correct configmap.yaml file
with removing of default service with 38c1e14 file changed prefix from 3 to 2
1 parent 4623bb4 commit 2dac94e

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

deploy/tests/e2e/config-snippet/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (suite *ConfigSnippetSuite) SetupSuite() {
5353
return res.StatusCode == 200
5454
}, e2e.WaitDuration, e2e.TickDuration)
5555
suite.test.AddTearDown(func() error {
56-
return suite.test.Apply("../../config/3.configmap.yaml", "", nil)
56+
return suite.test.Apply("../../config/2.configmap.yaml", "", nil)
5757
})
5858
}
5959

deploy/tests/e2e/cors/cors_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (suite *CorsSuite) Test_Configmap_Alone() {
4646
suite.Run("CorsMethodsCredentialAlone", suite.CorsMethodsCredentialAlone(false))
4747
suite.Run("CorsDisable", suite.CorsDisable(false))
4848
suite.Run("CorsMethodsCredentialDisable", suite.CorsMethodsCredentialDisable(false))
49-
suite.NoError(suite.test.Apply("../../config/3.configmap.yaml", "", nil))
49+
suite.NoError(suite.test.Apply("../../config/2.configmap.yaml", "", nil))
5050
}
5151

5252
func (suite *CorsSuite) Test_Ingress_Alone() {
@@ -121,6 +121,7 @@ func (suite *CorsSuite) Default(ingressCors bool) func() {
121121
suite.eventuallyReturns(expectedHeaders, unexpectedHeaders)
122122
}
123123
}
124+
124125
func (suite *CorsSuite) CorsOriginAlone(ingressCors bool) func() {
125126
return func() {
126127
expectedHeaders := http.Header{

deploy/tests/e2e/cors/suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ func (suite *CorsSuite) SetupSuite() {
4545
suite.client, err = e2e.NewHTTPClient(suite.tmplData.Host)
4646
suite.NoError(err)
4747

48-
suite.NoError(suite.test.Apply("../../config/3.configmap.yaml", "", nil))
48+
suite.NoError(suite.test.Apply("../../config/2.configmap.yaml", "", nil))
4949
suite.NoError(suite.test.Apply("config/deploy.yaml.tmpl", suite.test.GetNS(), tmplData{Host: suite.test.GetNS() + ".test"}))
5050
}
5151

5252
func (suite *CorsSuite) TearDownSuite() {
53-
//suite.test.Apply("../../config/3.configmap.yaml", "", nil)
53+
// suite.test.Apply("../../config/2.configmap.yaml", "", nil)
5454
suite.NoError(suite.test.Apply("config/deploy.yaml.tmpl", suite.test.GetNS(), tmplData{Host: suite.test.GetNS() + ".test"}))
5555
suite.test.TearDown()
5656
}

deploy/tests/e2e/global-config/maxconn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (suite *GlobalConfigSuite) TestMaxconn() {
2525
suite.maxconn = "1111"
2626
suite.Eventually(suite.checkMaxconn, e2e.WaitDuration, e2e.TickDuration)
2727

28-
suite.NoError(suite.test.Apply("../../config/3.configmap.yaml", "", nil))
28+
suite.NoError(suite.test.Apply("../../config/2.configmap.yaml", "", nil))
2929
suite.maxconn = "1000"
3030
suite.Eventually(suite.checkMaxconn, e2e.WaitDuration, e2e.TickDuration)
3131
}

deploy/tests/e2e/global-config/proxy_protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ func (suite *GlobalConfigSuite) Test_Proxy_Protocol() {
4949
})
5050

5151
// revert to initial configmap
52-
suite.NoError(suite.test.Apply("../../config/3.configmap.yaml", "", nil))
52+
suite.NoError(suite.test.Apply("../../config/2.configmap.yaml", "", nil))
5353
}

deploy/tests/e2e/tls-auth/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (suite *TLSAuthSuite) SetupSuite() {
5757
}, e2e.WaitDuration, e2e.TickDuration)
5858
suite.Require().NoError(suite.test.Apply("config/secrets/client-ca.yaml", suite.test.GetNS(), nil))
5959
suite.test.AddTearDown(func() error {
60-
return suite.test.Apply("../../config/3.configmap.yaml", "", nil)
60+
return suite.test.Apply("../../config/2.configmap.yaml", "", nil)
6161
})
6262
}
6363

0 commit comments

Comments
 (0)