2
0
mirror of synced 2025-02-24 06:38:14 +00:00

TestClientTransferRateLimitedUpload: Export client status

This commit is contained in:
Matt Joiner 2018-02-01 14:43:57 +11:00
parent 1a7708b484
commit 45aff24188

View 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)
}