Mark client transfer test as parallel
This commit is contained in:
parent
5fc42e8105
commit
9f5ce7e90e
|
@ -50,6 +50,7 @@ func assertReadAllGreeting(t *testing.T, r io.ReadSeeker) {
|
||||||
// Creates a seeder and a leecher, and ensures the data transfers when a read
|
// Creates a seeder and a leecher, and ensures the data transfers when a read
|
||||||
// is attempted on the leecher.
|
// is attempted on the leecher.
|
||||||
func testClientTransfer(t *testing.T, ps testClientTransferParams) {
|
func testClientTransfer(t *testing.T, ps testClientTransferParams) {
|
||||||
|
t.Parallel()
|
||||||
|
|
||||||
prevGOMAXPROCS := runtime.GOMAXPROCS(ps.GOMAXPROCS)
|
prevGOMAXPROCS := runtime.GOMAXPROCS(ps.GOMAXPROCS)
|
||||||
newGOMAXPROCS := prevGOMAXPROCS
|
newGOMAXPROCS := prevGOMAXPROCS
|
||||||
|
|
Loading…
Reference in New Issue