mirror of
https://github.com/alibaba/higress.git
synced 2026-06-08 04:07: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:
@@ -22,13 +22,14 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
HigressConformanceTests = append(HigressConformanceTests, HTTPRouteWhitelistSourceRange)
|
||||
Register(HTTPRouteWhitelistSourceRange)
|
||||
}
|
||||
|
||||
var HTTPRouteWhitelistSourceRange = suite.ConformanceTest{
|
||||
ShortName: "HTTPRouteWhitelistSourceRange",
|
||||
Description: "A single Ingress in the higress-conformance-infra namespace demonstrates ip access control",
|
||||
Manifests: []string{"tests/httproute-whitelist-source-range.yaml"},
|
||||
Features: []suite.SupportedFeature{suite.HTTPConformanceFeature},
|
||||
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
||||
testcases := []http.Assertion{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user