Skip to content

Commit

Permalink
Time measurement on windows might not be fine enought
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldwind committed Feb 1, 2021
1 parent 8868e78 commit bbbf00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func TestRunnerParallelWorkers(t *testing.T) {

result := testRunner.runWorkers()

if result.Time <= 0 {
if result.Time < 0 {
t.Errorf("[%d] expected result time to be positive number but got %s", specIdx, result.Time)
}

Expand Down

0 comments on commit bbbf00e

Please sign in to comment.