Merge pull request #116176 from aojea/testpingspdy

start to count time since the connection was actually established
This commit is contained in:
Kubernetes Prow Robot
2023-03-01 07:05:29 -08:00
committed by GitHub

View File

@@ -247,12 +247,12 @@ func TestConnectionPings(t *testing.T) {
t.Fatalf("client: error connecting to proxy: %v", err)
}
defer clConn.Close()
start := time.Now()
clSPDYConn, err := NewClientConnection(clConn)
if err != nil {
t.Fatalf("client: error creating spdy connection: %v", err)
}
defer clSPDYConn.Close()
start := time.Now()
clSPDYStream, err := clSPDYConn.CreateStream(http.Header{})
if err != nil {
t.Fatalf("client: error creating stream: %v", err)