diff options
-rw-r--r-- | service/http/service_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/service/http/service_test.go b/service/http/service_test.go index 34fd22bf..94dd64d7 100644 --- a/service/http/service_test.go +++ b/service/http/service_test.go @@ -133,6 +133,9 @@ func Test_Service_Echo(t *testing.T) { assert.NotNil(t, s) assert.Equal(t, service.StatusConfigured, st) + // should do nothing + s.Stop() + go func() { c.Serve() }() time.Sleep(time.Millisecond * 100) defer c.Stop() |