From 569eb9fa39b39ced571e35d8f7eb53f08b8e2865 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Wed, 13 Jun 2018 21:09:18 +0300 Subject: nested uploads test --- service/http/service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service/http/service_test.go') diff --git a/service/http/service_test.go b/service/http/service_test.go index c6e70825..ddb6b603 100644 --- a/service/http/service_test.go +++ b/service/http/service_test.go @@ -132,8 +132,8 @@ func Test_Service_Echo(t *testing.T) { assert.NotNil(t, s) assert.Equal(t, service.StatusConfigured, st) - go func() { logrus.Println(c.Serve()) }() - time.Sleep(time.Millisecond * 10) + go func() { c.Serve() }() + time.Sleep(time.Millisecond * 100) defer c.Stop() req, err := http.NewRequest("GET", "http://localhost:6029?hello=world", nil) -- cgit v1.2.3