Skip to content

Commit

Permalink
Lower threshold for tests even further
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Apr 20, 2020
1 parent 8afed02 commit bdf2a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/progress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestProgressTransferSpeed(t *testing.T) {
s := p.TransferSpeed()

// time.Sleep only approximates the duration, apply some threshold
if s < 920 || s > 1024 {
if s < 900 || s > 1024 {
t.Errorf("Expected %d, got %d", 1024, s)
}
}
Expand Down

0 comments on commit bdf2a29

Please sign in to comment.