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:
澄潭
2024-08-26 09:51:47 +08:00
committed by GitHub
parent a2c2d1d521
commit f7a419770d
401 changed files with 21171 additions and 7255 deletions

View File

@@ -19,7 +19,7 @@ import (
"testing"
"time"
"github.com/alibaba/higress/cmd/hgctl/config"
"github.com/alibaba/higress/hgctl/cmd/hgctl/config"
cfg "github.com/alibaba/higress/test/e2e/conformance/utils/config"
"github.com/tidwall/gjson"
"k8s.io/apimachinery/pkg/util/wait"

View File

@@ -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))

View File

@@ -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,
},