Try to fix tests

This commit is contained in:
Leonid Bugaev
2016-04-21 06:27:19 +05:00
parent dbd8a48561
commit eb6166724b
+2 -1
View File
@@ -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})