Fix the GoTool unit tests to not be sensitive to elapsed time.

Review Request #12490 — Created July 27, 2022 and submitted — Latest diff uploaded

Information

ReviewBot
release-3.x

Reviewers

One of the GoTool unit tests compares a result containing text showing
the number of seconds elapsed for a check. While often 0.00s, this
would sometimes break CI, particularly when there were a lot of builds
happening simultaneously.

This switches the test to compare via a regex, giving us more
flexibility.

Unit tests pass.

Commits

Files

    Loading...