summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)