lib/pacer: fix test on macOS
This commit is contained in:
parent
2bf19787d5
commit
f6eb5c6983
1 changed files with 0 additions and 1 deletions
|
@ -237,7 +237,6 @@ func TestGoogleDrivePacer(t *testing.T) {
|
||||||
count := 0
|
count := 0
|
||||||
for i := 0; i < test.calls; i++ {
|
for i := 0; i < test.calls; i++ {
|
||||||
sleep := c.Calculate(State{})
|
sleep := c.Calculate(State{})
|
||||||
time.Sleep(sleep)
|
|
||||||
if sleep != 0 {
|
if sleep != 0 {
|
||||||
count++
|
count++
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue