Merge pull request #13055 from ptabor/20210528-beckport-integration-fixes

This commit is contained in:
Sam Batschelet
2021-05-30 16:35:15 -04:00
committed by GitHub
13 changed files with 116 additions and 37 deletions

View File

@@ -187,7 +187,7 @@ func TestStreamReaderDialResult(t *testing.T) {
// TestStreamReaderStopOnDial tests a stream reader closes the connection on stop.
func TestStreamReaderStopOnDial(t *testing.T) {
testutil.BeforeTest(t)
testutil.RegisterLeakDetection(t)
h := http.Header{}
h.Add("X-Server-Version", version.Version)
tr := &respWaitRoundTripper{rrt: &respRoundTripper{code: http.StatusOK, header: h}}