mirror of https://github.com/rclone/rclone.git
lib/pacer: fix test on macOS
This commit is contained in:
parent
2bf19787d5
commit
f6eb5c6983
|
@ -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…
Reference in New Issue