- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRotateShutsDownConnections (0.19 sec)
-
pkg/kubelet/certificate/transport_test.go
if val := f.cert.Load(); val != nil { return val.(*tls.Certificate) } return nil } func (f *fakeManager) setCurrent(cert *tls.Certificate) { f.cert.Store(cert) } func TestRotateShutsDownConnections(t *testing.T) { // This test fails if you comment out the t.closeAllConns() call in // transport.go and don't close connections on a rotate. stop := make(chan struct{}) defer close(stop)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 18 08:52:58 UTC 2020 - 7.8K bytes - Viewed (0)