We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4d2f27 commit 11de4c8Copy full SHA for 11de4c8
rest/blip_api_crud_test.go
@@ -1205,7 +1205,14 @@ func TestBlipSendConcurrentRevs(t *testing.T) {
1205
maxConcurrentRevs = 10
1206
concurrentSendRevNum = 50
1207
)
1208
- rt := NewRestTester(t, &RestTesterConfig{maxConcurrentRevs: base.IntPtr(maxConcurrentRevs)})
+ rt := NewRestTester(t, &RestTesterConfig{
1209
+ leakyBucketConfig: &base.LeakyBucketConfig{
1210
+ UpdateCallback: func(_ string) {
1211
+ time.Sleep(time.Millisecond * 5) // slow down rosmar - it's too quick to be throttled
1212
+ },
1213
1214
+ maxConcurrentRevs: base.IntPtr(maxConcurrentRevs),
1215
+ })
1216
defer rt.Close()
1217
btSpec := BlipTesterSpec{
1218
connectingUsername: "user1",
0 commit comments