mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-02 09:52:49 +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...858c2ad4c8
Signed-off-by: Davanum Srinivas <davanum@gmail.com> Kubernetes-commit: eea0fea657e5955dedcb6e39bad4dca57d70553c
This commit is contained in:
parent
75fea27a27
commit
48c3485ab5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user