test: increase sleep for server shutdown test

This commit is contained in:
Daniel G. Taylor 2020-04-07 22:33:24 -07:00
parent 94bf2469ab
commit c87609831e
No known key found for this signature in database
GPG key ID: 7BD6DC99C9A87E22

View file

@ -13,7 +13,7 @@ func TestServerShutdown(t *testing.T) {
r.Root().Run(nil, []string{})
}()
time.Sleep(1 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
defer cancel()