Skip to content

Commit

Permalink
fix test again
Browse files Browse the repository at this point in the history
  • Loading branch information
jharley committed Aug 1, 2024
1 parent bb33730 commit ac2b603
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/v2/limits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ func TestClient_rateLimitBackoff(t *testing.T) {
max = 500 * time.Millisecond
r := rateLimitBackoff(min, max, w.Result())

assert.Greater(t, r, min, "expected backoff to be greater than min")
assert.GreaterOrEqual(t, r, max, "expected backoff to be greater or equal to max")
assert.GreaterOrEqual(t, r, min, "expected backoff to be >=min")
})
}

Expand Down

0 comments on commit ac2b603

Please sign in to comment.