mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-11 17:16:18 +00:00
Drop tests that break with newer oauth2
The bazel test failures are caused by (oauth2: turn Transport.CancelRequest into a no-op)[858c2ad4c8]:0f29369cfe...858c2ad4c8Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user