We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd0c02 commit ffe235dCopy full SHA for ffe235d
staging/src/k8s.io/kubelet/pkg/cri/streaming/remotecommand/httpstream_test.go
@@ -60,7 +60,7 @@ func TestHandleResizeEvents(t *testing.T) {
60
}
61
for _, testCase := range testCases {
62
t.Run(testCase.name, func(t *testing.T) {
63
- ctx, cancel := context.WithCancel(context.TODO())
+ ctx, cancel := context.WithCancel(context.Background())
64
connCtx := connectionContext{
65
resizeStream: io.NopCloser(bytes.NewReader(testCase.resizeStreamData)),
66
resizeChan: make(chan remotecommand.TerminalSize),
0 commit comments