mirror of
https://github.com/alibaba/higress.git
synced 2026-03-17 00:40:48 +08:00
e2e: rename some cases name to make it sync with others (#344)
This commit is contained in:
@@ -23,11 +23,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
HigressConformanceTests = append(HigressConformanceTests, HTTPFORCEREDIRCTHTTPS)
|
HigressConformanceTests = append(HigressConformanceTests, HttpForceRedirectHttps)
|
||||||
}
|
}
|
||||||
|
|
||||||
var HTTPFORCEREDIRCTHTTPS = suite.ConformanceTest{
|
var HttpForceRedirectHttps = suite.ConformanceTest{
|
||||||
ShortName: "HTTPFORCEREDIRCTHTTPS",
|
ShortName: "HttpForceRedirectHttps",
|
||||||
Description: " The ingress in the higress-conformance-infra namespace enforces server-side HTTPS with forced redirection.",
|
Description: " The ingress in the higress-conformance-infra namespace enforces server-side HTTPS with forced redirection.",
|
||||||
Manifests: []string{"tests/httproute-force-redirect-https.yaml"},
|
Manifests: []string{"tests/httproute-force-redirect-https.yaml"},
|
||||||
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
||||||
|
|||||||
@@ -23,11 +23,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
HigressConformanceTests = append(HigressConformanceTests, HTTPREDIRCTASHTTPS)
|
HigressConformanceTests = append(HigressConformanceTests, HttpRedirectAsHttps)
|
||||||
}
|
}
|
||||||
|
|
||||||
var HTTPREDIRCTASHTTPS = suite.ConformanceTest{
|
var HttpRedirectAsHttps = suite.ConformanceTest{
|
||||||
ShortName: "HTTPREDIRCTASHTTPS",
|
ShortName: "HttpRedirectAsHttps",
|
||||||
Description: "The Ingress in the higress-conformance-infra namespace Server-side HTTPS enforcement through redirect.",
|
Description: "The Ingress in the higress-conformance-infra namespace Server-side HTTPS enforcement through redirect.",
|
||||||
Manifests: []string{"tests/httproute-redirct-as-https.yaml"},
|
Manifests: []string{"tests/httproute-redirct-as-https.yaml"},
|
||||||
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
||||||
|
|||||||
Reference in New Issue
Block a user