mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 10:47:25 +00:00
start to count time since the connection was actually established
Change-Id: Ib4986fb362600b760a4a853513d739f2d665836e
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user