Merge branch 'master' into endpoint_tests
This commit is contained in:
@@ -159,10 +159,10 @@ func TestTransferProtocol(t *testing.T) {
|
|||||||
t.Errorf("xfer#1(resubmitted).wait returned %d bytes, want %d", got, want)
|
t.Errorf("xfer#1(resubmitted).wait returned %d bytes, want %d", got, want)
|
||||||
}
|
}
|
||||||
|
|
||||||
for i := 0; i < 2; i++ {
|
for _, x := range xfers {
|
||||||
xfers[i].cancel()
|
x.cancel()
|
||||||
xfers[i].wait()
|
x.wait()
|
||||||
xfers[i].free()
|
x.free()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user