Skip to content

Commit

Permalink
disable keep-alive for test
Browse files Browse the repository at this point in the history
  • Loading branch information
prongq committed Oct 22, 2023
1 parent d604323 commit b7b44c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generic_test.go
Expand Up @@ -211,7 +211,11 @@ func TestHelperContainerStarterProcess(t *testing.T) {
require.NoError(t, err)

// check is reuse container with WaitingFor work correctly.
resp, err := http.Get(origin)
req, err := http.NewRequestWithContext(ctx, http.MethodGet, origin, nil)
require.NoError(t, err)
req.Close = true

resp, err := http.DefaultClient.Do(req)
require.NoError(t, err)
defer resp.Body.Close()

Expand Down

0 comments on commit b7b44c6

Please sign in to comment.