mirror of
https://github.com/google/benchmark.git
synced 2025-01-30 05:40:15 +08:00
Fix flaky test
This commit is contained in:
parent
519e8d0e56
commit
74a278e206
@ -146,8 +146,8 @@ ADD_CASES(&ConsoleOutputTests, {
|
||||
ADD_CASES(&JSONOutputTests, {
|
||||
{"\"name\": \"BM_basic\",$"},
|
||||
{"\"iterations\": [0-9]+,$", MR_Next},
|
||||
{"\"real_time\": [0-9],$", MR_Next},
|
||||
{"\"cpu_time\": [0-9],$", MR_Next},
|
||||
{"\"real_time\": [0-9]{1,5},$", MR_Next},
|
||||
{"\"cpu_time\": [0-9]{1,5},$", MR_Next},
|
||||
{"\"time_unit\": \"ns\"$", MR_Next},
|
||||
{"}", MR_Next}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user