Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
38709: roachtest: fix test skip message for teamcity r=andreimatei a=andreimatei

We weren't escaping a part of a teamcity directive causing it to fail to
parse the skip message for some tests.

Release note: None

Co-authored-by: Andrei Matei <andrei@cockroachlabs.com>
  • Loading branch information
craig[bot] and andreimatei committed Jul 5, 2019
2 parents a7926a6 + 559a57f commit 9322e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func testsToRun(ctx context.Context, r testRegistry, filter *testFilter) []testS
} else {
if teamCity {
fmt.Fprintf(os.Stdout, "##teamcity[testIgnored name='%s' message='%s']\n",
s.Name, s.Skip)
s.Name, teamCityEscape(s.Skip))
}
fmt.Fprintf(os.Stdout, "--- SKIP: %s (%s)\n\t%s\n", s.Name, "0.00s", s.Skip)
}
Expand Down

0 comments on commit 9322e07

Please sign in to comment.