mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
test: 🧪 Missing tests added (existing corrected)
This commit is contained in:
parent
df2163e41e
commit
3c5b8f6337
@ -367,7 +367,7 @@ func startServer(t *testing.T, srv *appHttp.Server) (_ string, stop func()) {
|
||||
<-time.After(5 * time.Millisecond)
|
||||
}
|
||||
|
||||
return fmt.Sprintf("http://%s", hostPort), func() { assert.NoError(t, srv.Stop(10*time.Millisecond)) }
|
||||
return fmt.Sprintf("http://%s", hostPort), func() { assert.NoError(t, srv.Stop(350*time.Millisecond)) }
|
||||
}
|
||||
|
||||
// getFreeTcpPort is a helper function to get a free TCP port number.
|
||||
|
Loading…
Reference in New Issue
Block a user