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

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

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.

Summary ID
Fix the GoTool unit tests to not be sensitive to elapsed time.
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.
8da7c021c872da4f35e956c6e6f39632b56ffecb
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (e52fb23)
Loading...