]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Don't do client transfer tests in parallel
authorMatt Joiner <anacrolix@gmail.com>
Mon, 25 Sep 2023 11:29:08 +0000 (21:29 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 25 Sep 2023 11:29:08 +0000 (21:29 +1000)
This should make them a lot less flaky.

test/leecher-storage.go

index bfb3816db94c6281b1adf280f59de28b7e94e595..a60f077a0a4498facc61be5add4cc3db781a0a7e 100644 (file)
@@ -91,8 +91,6 @@ type testClientTransferParams struct {
 // Creates a seeder and a leecher, and ensures the data transfers when a read
 // is attempted on the leecher.
 func testClientTransfer(t *testing.T, ps testClientTransferParams) {
-       t.Parallel()
-
        prevGOMAXPROCS := runtime.GOMAXPROCS(ps.GOMAXPROCS)
        newGOMAXPROCS := prevGOMAXPROCS
        if ps.GOMAXPROCS > 0 {