mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #116176 from aojea/testpingspdy
start to count time since the connection was actually established
This commit is contained in:
commit
44bedc2a46
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user