mirror of
https://github.com/alibaba/higress.git
synced 2026-05-08 04:17:27 +08:00
upgrade to istio 1.19 (#1211)
Co-authored-by: CH3CHO <ch3cho@qq.com> Co-authored-by: rinfx <893383980@qq.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
package suite
|
||||
|
||||
import "istio.io/istio/pilot/pkg/util/sets"
|
||||
import "istio.io/istio/pkg/util/sets"
|
||||
|
||||
type SupportedFeature string
|
||||
|
||||
@@ -44,7 +44,7 @@ var WasmPluginTypeMap = map[string]SupportedFeature{
|
||||
"RUST": WASMRustConformanceFeature,
|
||||
}
|
||||
|
||||
var AllFeatures = sets.Set{}.
|
||||
var AllFeatures = sets.Set[string]{}.
|
||||
Insert(string(HTTPConformanceFeature)).
|
||||
Insert(string(DubboConformanceFeature)).
|
||||
Insert(string(EurekaConformanceFeature)).
|
||||
@@ -52,7 +52,7 @@ var AllFeatures = sets.Set{}.
|
||||
Insert(string(NacosConformanceFeature)).
|
||||
Insert(string(EnvoyConfigConformanceFeature))
|
||||
|
||||
var ExperimentFeatures = sets.Set{}.
|
||||
var ExperimentFeatures = sets.Set[string]{}.
|
||||
Insert(string(WASMGoConformanceFeature)).
|
||||
Insert(string(WASMCPPConformanceFeature)).
|
||||
Insert(string(WASMRustConformanceFeature))
|
||||
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
"github.com/alibaba/higress/test/e2e/conformance/utils/config"
|
||||
"github.com/alibaba/higress/test/e2e/conformance/utils/kubernetes"
|
||||
"github.com/alibaba/higress/test/e2e/conformance/utils/roundtripper"
|
||||
"istio.io/istio/pilot/pkg/util/sets"
|
||||
"istio.io/istio/pkg/util/sets"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
)
|
||||
|
||||
@@ -43,16 +43,16 @@ type ConformanceTestSuite struct {
|
||||
Cleanup bool
|
||||
BaseManifests []string
|
||||
Applier kubernetes.Applier
|
||||
SkipTests sets.Set
|
||||
ExecuteTests sets.Set
|
||||
SkipTests sets.Set[string]
|
||||
ExecuteTests sets.Set[string]
|
||||
TimeoutConfig config.TimeoutConfig
|
||||
SupportedFeatures sets.Set
|
||||
SupportedFeatures sets.Set[string]
|
||||
}
|
||||
|
||||
// Options can be used to initialize a ConformanceTestSuite.
|
||||
type Options struct {
|
||||
SupportedFeatures sets.Set
|
||||
ExemptFeatures sets.Set
|
||||
SupportedFeatures sets.Set[string]
|
||||
ExemptFeatures sets.Set[string]
|
||||
ExecuteTests string
|
||||
|
||||
EnableAllSupportedFeatures bool
|
||||
@@ -91,7 +91,7 @@ func New(s Options) *ConformanceTestSuite {
|
||||
}
|
||||
|
||||
if s.SupportedFeatures == nil {
|
||||
s.SupportedFeatures = sets.Set{}
|
||||
s.SupportedFeatures = sets.Set[string]{}
|
||||
}
|
||||
|
||||
if s.IsWasmPluginTest {
|
||||
@@ -120,7 +120,7 @@ func New(s Options) *ConformanceTestSuite {
|
||||
BaseManifests: s.BaseManifests,
|
||||
SupportedFeatures: s.SupportedFeatures,
|
||||
GatewayAddress: s.GatewayAddress,
|
||||
ExecuteTests: sets.NewSet(),
|
||||
ExecuteTests: sets.New[string](),
|
||||
Applier: kubernetes.Applier{
|
||||
NamespaceLabels: s.NamespaceLabels,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user