mirror of
https://github.com/Fishwaldo/huma.git
synced 2025-03-15 19:31:27 +00:00
test: increase sleep for server shutdown test
This commit is contained in:
parent
94bf2469ab
commit
c87609831e
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue