TestClientTransferRateLimitedUpload: Export client status
This commit is contained in:
parent
1a7708b484
commit
45aff24188
@ -274,6 +274,7 @@ func TestClientTransferRateLimitedUpload(t *testing.T) {
|
|||||||
// chunks are 2 bytes in length. Then the smallest burst we can run
|
// chunks are 2 bytes in length. Then the smallest burst we can run
|
||||||
// with is 2. Time taken is (13-burst)/rate.
|
// with is 2. Time taken is (13-burst)/rate.
|
||||||
SeederUploadRateLimiter: rate.NewLimiter(11, 2),
|
SeederUploadRateLimiter: rate.NewLimiter(11, 2),
|
||||||
|
ExportClientStatus: true,
|
||||||
})
|
})
|
||||||
require.True(t, time.Since(started) > time.Second)
|
require.True(t, time.Since(started) > time.Second)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user