fix read on close

This commit is contained in:
holooooo
2021-05-25 15:15:43 +08:00
parent 2182081831
commit f8df3d1bee
3 changed files with 15 additions and 20 deletions

View File

@@ -247,7 +247,7 @@ func TestOption_WithRetry(t *testing.T) {
}
retryAmount := 1
retryDelay := 200 * time.Millisecond
retryDelay := 800 * time.Millisecond
startTime := time.Now().UnixNano() / int64(time.Millisecond)
_ = client.Get(nil, "", WithRetry(retryAmount, retryDelay))