Skip to content

Commit

Permalink
test: 🧪 Missing tests added (existing corrected)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Jul 1, 2024
1 parent df2163e commit 3c5b8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3c5b8f6

Please sign in to comment.