Skip to content

Commit

Permalink
Merge pull request #42 from kumarabd/addLabels
Browse files Browse the repository at this point in the history
fixed minor bug for reading yamls
  • Loading branch information
leecalcote authored Aug 14, 2020
2 parents 2e4b7a7 + 711fb74 commit c0fb370
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions smi-conformance/test-gen/test_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ func RunTest(meshConfig ServiceMesh, annotations, labels map[string]string) Resu
SMObj: meshConfig,
}

if len(args) != 0 {
options.TestDirs = args
}

testHandlers := make(map[string]map[string]test.CustomTest)
testHandlers["traffic-access"] = serviceMeshConfObj.TrafficAccessGetTests()
testHandlers["traffic-spec"] = serviceMeshConfObj.TrafficSpecGetTests()
Expand All @@ -75,9 +79,6 @@ func RunTest(meshConfig ServiceMesh, annotations, labels map[string]string) Resu
NamespaceAnnotations: annotations,
NamespaceLabels: labels,
}
if len(args) != 0 {
options.TestDirs = args
}

// Runs the test using the inCluster kubeConfig (runs only when the code is running inside the pod)
harness.InCluster = true
Expand Down

0 comments on commit c0fb370

Please sign in to comment.