Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CL 525556 started using timeRE regexp to match time output from JSON handler, and relaxed it to allow arbitrary (rather than fixed 3 digit) precision. What it missed is in JSON handler the fractional part is omitted entirely (together with the decimal dot) when the nanoseconds field is 0. As a result, there are occasional CI failures in js/wasm (which, I guess, has better chances to return zero nanoseconds). To fix the flaky test, let's use two different regular expressions, tailored to text and JSON. Change-Id: Ie98990fcf278bb0916ab31c9177e6b22a523062a Reviewed-on: https://go-review.googlesource.com/c/go/+/530675 Run-TryBot: Kirill Kolyshkin <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Reviewed-by: Andy Pan <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
- Loading branch information