Skip to content

Commit

Permalink
Use index instead of URL to name steps of traffic test (istio#16424)
Browse files Browse the repository at this point in the history
  • Loading branch information
qfel authored and istio-testing committed Aug 21, 2019
1 parent d45ecf1 commit 8771205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/conformance/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ func validateTraffic(t framework.TestContext, pil pilot.Instance, gal galley.Ins

ready := make(map[string]bool)
vHosts := virtualServiceHosts(t, stage.Input)
for _, call := range stage.Traffic.Calls {
for i, call := range stage.Traffic.Calls {
call.URL = tmpl.EvaluateOrFail(t, call.URL, constraint.Params{
Namespace: ns.Name(),
})
t.NewSubTest(call.URL).Run(func(t framework.TestContext) {
t.NewSubTest(strconv.Itoa(i)).Run(func(t framework.TestContext) {
hostname, err := wildcardToRegexp(call.Response.Callee)
if err != nil {
t.Fatalf("Internal error: regexp.Compile: %v", err)
Expand Down

0 comments on commit 8771205

Please sign in to comment.