mirror of
https://github.com/alibaba/higress.git
synced 2026-05-25 13:17:28 +08:00
feat: add rust demo plugin request block (#1091)
Co-authored-by: Yi <lynskylate@gmail.com>
This commit is contained in:
@@ -95,10 +95,11 @@ func New(s Options) *ConformanceTestSuite {
|
||||
}
|
||||
|
||||
if s.IsWasmPluginTest {
|
||||
if s.WasmPluginType == "CPP" {
|
||||
s.SupportedFeatures.Insert(string(WASMCPPConformanceFeature))
|
||||
feature, ok := WasmPluginTypeMap[s.WasmPluginType]
|
||||
if ok {
|
||||
s.SupportedFeatures.Insert(string(feature))
|
||||
} else {
|
||||
s.SupportedFeatures.Insert(string(WASMGoConformanceFeature))
|
||||
panic("WasmPluginType [" + s.WasmPluginType + "] not support")
|
||||
}
|
||||
} else if s.IsEnvoyConfigTest {
|
||||
s.SupportedFeatures.Insert(string(EnvoyConfigConformanceFeature))
|
||||
|
||||
Reference in New Issue
Block a user