File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ func TestPortForward(t *testing.T) {
190
190
testDial (t , c2 )
191
191
testDial (t , c1 )
192
192
193
+ cancel ()
193
194
err = <- errC
194
195
require .ErrorIs (t , err , context .Canceled )
195
196
})
@@ -240,6 +241,7 @@ func TestPortForward(t *testing.T) {
240
241
testDial (t , c2 )
241
242
testDial (t , c1 )
242
243
244
+ cancel ()
243
245
err = <- errC
244
246
require .ErrorIs (t , err , context .Canceled )
245
247
})
@@ -297,6 +299,7 @@ func TestPortForward(t *testing.T) {
297
299
testDial (t , c2 )
298
300
testDial (t , c1 )
299
301
302
+ cancel ()
300
303
err = <- errC
301
304
require .ErrorIs (t , err , context .Canceled )
302
305
})
@@ -367,6 +370,7 @@ func TestPortForward(t *testing.T) {
367
370
testDial (t , conns [i ])
368
371
}
369
372
373
+ cancel ()
370
374
err := <- errC
371
375
require .ErrorIs (t , err , context .Canceled )
372
376
})
You can’t perform that action at this time.
0 commit comments