Skip to content

Commit

Permalink
fix: fix windows test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed Aug 29, 2024
1 parent 52dced1 commit 6d33900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func TestCacheNoNeedCache(t *testing.T) {
)

w1 := performRequest("/cache/ping", r)
time.Sleep(time.Millisecond * 10)
w2 := performRequest("/cache/ping", r)

assert.Equal(t, http.StatusOK, w1.Code)
Expand Down

0 comments on commit 6d33900

Please sign in to comment.