Skip to content

Commit eea0fea

Browse files
committed
Drop tests that break with newer oauth2
The bazel test failures are caused by (oauth2: turn Transport.CancelRequest into a no-op)[golang/oauth2@858c2ad]: golang/oauth2@0f29369...858c2ad Signed-off-by: Davanum Srinivas <[email protected]>
1 parent 442a69c commit eea0fea

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

staging/src/k8s.io/client-go/transport/token_source_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,6 @@ func TestCancellation(t *testing.T) {
176176
header: map[string][]string{"Authorization": {"Bearer TOKEN"}},
177177
expectCancel: true,
178178
},
179-
{
180-
name: "cancel req without bearer token hits both rts",
181-
expectCancel: true,
182-
},
183-
{
184-
name: "cancel req without bearer token hits both wrapped rts",
185-
wrapTransport: func(rt http.RoundTripper) http.RoundTripper {
186-
return NewUserAgentRoundTripper("testing testing", rt)
187-
},
188-
expectCancel: true,
189-
},
190179
{
191180
name: "can't cancel request with rts that doesn't implent unwrap or cancel",
192181
wrapTransport: func(rt http.RoundTripper) http.RoundTripper {

0 commit comments

Comments
 (0)