diff --git a/staging/src/k8s.io/client-go/transport/token_source_test.go b/staging/src/k8s.io/client-go/transport/token_source_test.go index 6d61cacaa9a..7c2ff6e2b1f 100644 --- a/staging/src/k8s.io/client-go/transport/token_source_test.go +++ b/staging/src/k8s.io/client-go/transport/token_source_test.go @@ -176,17 +176,6 @@ func TestCancellation(t *testing.T) { header: map[string][]string{"Authorization": {"Bearer TOKEN"}}, expectCancel: true, }, - { - name: "cancel req without bearer token hits both rts", - expectCancel: true, - }, - { - name: "cancel req without bearer token hits both wrapped rts", - wrapTransport: func(rt http.RoundTripper) http.RoundTripper { - return NewUserAgentRoundTripper("testing testing", rt) - }, - expectCancel: true, - }, { name: "can't cancel request with rts that doesn't implent unwrap or cancel", wrapTransport: func(rt http.RoundTripper) http.RoundTripper {