summaryrefslogtreecommitdiff
path: root/service/http/service_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 21:09:18 +0300
committerWolfy-J <[email protected]>2018-06-13 21:09:18 +0300
commit569eb9fa39b39ced571e35d8f7eb53f08b8e2865 (patch)
treeebaa02c292b621e94aa9606b5534cd962c2fad49 /service/http/service_test.go
parentcc214a55def60a30424d83a89a5947c229425259 (diff)
nested uploads test
Diffstat (limited to 'service/http/service_test.go')
-rw-r--r--service/http/service_test.go4
1 files changed, 2 insertions, 2 deletions
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)