mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Try to fix tests
This commit is contained in:
+2
-1
@@ -128,7 +128,8 @@ func TestEchoMiddleware(t *testing.T) {
|
||||
// Start Gor
|
||||
go Start(quit)
|
||||
|
||||
time.Sleep(time.Millisecond)
|
||||
// Wait till middleware initialization
|
||||
time.Sleep(10*time.Millisecond)
|
||||
|
||||
// Should receive 2 requests from original + 2 from replayed
|
||||
client := NewHTTPClient(from.URL, &HTTPClientConfig{Debug: false})
|
||||
|
||||
Reference in New Issue
Block a user