Skip to content

Commit

Permalink
Fix format.
Browse files Browse the repository at this point in the history
Signed-off-by: Huang Xin <[email protected]>
  • Loading branch information
gyohuangxin committed Jan 11, 2023
1 parent f0f9146 commit d997dd3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions conformance/utils/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
)

var (
GatewayClassName = flag.String("gateway-class", "gateway-conformance", "Name of GatewayClass to use for tests")
ShowDebug = flag.Bool("debug", false, "Whether to print debug logs")
CleanupBaseResources = flag.Bool("cleanup-base-resources", true, "Whether to cleanup base test resources after the run")
SupportedFeatures = flag.String("supported-features", "", "Supported features included in conformance tests suites")
ExemptFeatures = flag.String("exempt-features", "", "Exempt Features excluded from conformance tests suites")
EnableAllSupportedFeatures = flag.Bool("all-features", false, "Whether to enable all supported feature conformance tests")
GatewayClassName = flag.String("gateway-class", "gateway-conformance", "Name of GatewayClass to use for tests")
ShowDebug = flag.Bool("debug", false, "Whether to print debug logs")
CleanupBaseResources = flag.Bool("cleanup-base-resources", true, "Whether to cleanup base test resources after the run")
SupportedFeatures = flag.String("supported-features", "", "Supported features included in conformance tests suites")
ExemptFeatures = flag.String("exempt-features", "", "Exempt Features excluded from conformance tests suites")
EnableAllSupportedFeatures = flag.Bool("all-features", false, "Whether to enable all supported feature conformance tests")
)
22 changes: 11 additions & 11 deletions conformance/utils/suite/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,18 @@ var StandardCoreFeatures = map[SupportedFeature]bool{
// AllFeatures contains all the supported features and can be used to run all
// conformance tests with `all-features` flag.
var AllFeatures = map[SupportedFeature]bool{
SupportReferenceGrant: true,
SupportTLSRoute: true,
SupportHTTPRouteQueryParamMatching: true,
SupportHTTPRouteMethodMatching: true,
SupportHTTPResponseHeaderModification: true,
SupportRouteDestinationPortMatching: true,
SupportReferenceGrant: true,
SupportTLSRoute: true,
SupportHTTPRouteQueryParamMatching: true,
SupportHTTPRouteMethodMatching: true,
SupportHTTPResponseHeaderModification: true,
SupportRouteDestinationPortMatching: true,
SupportGatewayClassObservedGenerationBump: true,
SupportHTTPRoutePortRedirect: true,
SupportHTTPRouteSchemeRedirect: true,
SupportHTTPRoutePathRedirect: true,
SupportHTTPRouteHostRewrite: true,
SupportHTTPRoutePathRewrite: true,
SupportHTTPRoutePortRedirect: true,
SupportHTTPRouteSchemeRedirect: true,
SupportHTTPRoutePathRedirect: true,
SupportHTTPRouteHostRewrite: true,
SupportHTTPRoutePathRewrite: true,
}

// ConformanceTestSuite defines the test suite used to run Gateway API
Expand Down

0 comments on commit d997dd3

Please sign in to comment.