mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
feat: add features to conformance and do some refactors (#532)
Signed-off-by: bitliu <bitliu@tencent.com>
This commit is contained in:
@@ -23,13 +23,14 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
HigressConformanceTests = append(HigressConformanceTests, HTTPRouteAppRoot)
|
||||
Register(HTTPRouteAppRoot)
|
||||
}
|
||||
|
||||
var HTTPRouteAppRoot = suite.ConformanceTest{
|
||||
ShortName: "HTTPRouteAppRoot",
|
||||
Description: "The Ingress in the higress-conformance-infra namespace uses the app root.",
|
||||
Manifests: []string{"tests/httproute-app-root.yaml"},
|
||||
Features: []suite.SupportedFeature{suite.HTTPConformanceFeature},
|
||||
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
||||
testcases := []http.Assertion{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user