From 54eae00774204e2d04daaf229d20a403db5db5fa Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Sun, 9 Oct 2022 08:53:40 -0400 Subject: [PATCH] Intermittent test failure --- server/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server_test.go b/server/server_test.go index a9c6ba6..e328cb1 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -836,7 +836,7 @@ func TestServer_PublishTooRequests_ShortReplenish(t *testing.T) { response := request(t, s, "PUT", "/mytopic", "message", nil) require.Equal(t, 429, response.Code) - time.Sleep(510 * time.Millisecond) + time.Sleep(520 * time.Millisecond) response = request(t, s, "PUT", "/mytopic", "message", nil) require.Equal(t, 200, response.Code) }