]> Sergey Matveev's repositories - btrtrc.git/commitdiff
TestClientTransferRateLimitedUpload: Export client status
authorMatt Joiner <anacrolix@gmail.com>
Thu, 1 Feb 2018 03:43:57 +0000 (14:43 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 1 Feb 2018 03:43:57 +0000 (14:43 +1100)
client_test.go

index 2cb78e5f6a413d1ce913d68aff1e3c7cc90fddf0..7508480073536089c2cd053aae4f90217ae0ef94 100644 (file)
@@ -274,6 +274,7 @@ func TestClientTransferRateLimitedUpload(t *testing.T) {
                // chunks are 2 bytes in length. Then the smallest burst we can run
                // with is 2. Time taken is (13-burst)/rate.
                SeederUploadRateLimiter: rate.NewLimiter(11, 2),
+               ExportClientStatus:      true,
        })
        require.True(t, time.Since(started) > time.Second)
 }