@@ -42,9 +42,12 @@ func (s *Service) RunTest(ctx context.Context, req *conformance.Request) (*confo
4242
4343 config = linkerdConfig
4444 switch req .Mesh .Type {
45- case smp .ServiceMesh_APP_MESH :
45+ case smp .ServiceMesh_LINKERD :
4646 config = linkerdConfig
4747 req .Mesh .Annotations ["linkerd.io/inject" ] = "enabled"
48+ case smp .ServiceMesh_APP_MESH :
49+ config = linkerdConfig
50+ req .Mesh .Labels ["appmesh.k8s.aws/sidecarInjectorWebhook" ] = "enabled"
4851 case smp .ServiceMesh_MAESH :
4952 config = maeshConfig
5053 case smp .ServiceMesh_ISTIO :
@@ -53,6 +56,10 @@ func (s *Service) RunTest(ctx context.Context, req *conformance.Request) (*confo
5356 case smp .ServiceMesh_OPEN_SERVICE_MESH :
5457 config = osmConfig
5558 req .Mesh .Labels ["openservicemesh.io/monitored-by" ] = "osm"
59+ case smp .ServiceMesh_KUMA :
60+ req .Mesh .Annotations ["kuma.io/sidecar-injection" ] = "enabled"
61+ case smp .ServiceMesh_NGINX_SERVICE_MESH :
62+ req .Mesh .Annotations ["njector.nsm.nginx.com/auto-inject" ] = "true"
5663
5764 }
5865
@@ -64,12 +71,17 @@ func (s *Service) RunTest(ctx context.Context, req *conformance.Request) (*confo
6471 "traffic-split" : 11 ,
6572 "traffic-spec" : 6 ,
6673 }
74+ specVersion := map [string ]string {
75+ "traffic-access" : "v0.6.0/v1alpha3" ,
76+ "traffic-split" : "v0.6.0/v1alpha4" ,
77+ "traffic-spec" : "v0.6.0/v1alpha4" ,
78+ }
6779
6880 details := make ([]* conformance.Detail , 0 )
6981 for _ , res := range result .Testsuite [0 ].Testcase {
7082 d := & conformance.Detail {
7183 Smispec : res .Name ,
72- Specversion : "v1alpha1" ,
84+ Specversion : specVersion [ res . Name ] ,
7385 Assertion : strconv .Itoa (stepsCount [res .Name ]),
7486 Duration : res .Time ,
7587 Capability : conformance .Capability_FULL ,
@@ -98,7 +110,7 @@ func (s *Service) RunTest(ctx context.Context, req *conformance.Request) (*confo
98110
99111 // A hacky way to see the testStep Failed, since KUDO only provides it in Failure.Message
100112 re := regexp .MustCompile (`[0-9]+` )
101- if res .Failure != nil {
113+ if res .Failure . Message != "" {
102114 stepFailed := re .FindAllString (res .Failure .Message , 1 )
103115 if len (stepFailed ) != 0 {
104116 passed , _ := strconv .Atoi (stepFailed [0 ])
0 commit comments