Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion yarn-project/p2p/src/services/reqresp/reqresp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,13 @@ describe('ReqResp', () => {
it('should stop after max retry attempts', async () => {
const batchSize = 12;
const failedIndices = [10, 11];
nodes = await createNodes(peerScoring, 3);
nodes = await createNodes(peerScoring, 3, {
// Bump rate limits so that passing requests don't hit the real rate limiter
[ReqRespSubProtocol.PING]: {
peerLimit: { quotaTimeMs: 1000, quotaCount: 50 },
globalLimit: { quotaTimeMs: 1000, quotaCount: 50 },
},
});

await startNodes(nodes);
await sleep(500);
Expand Down
Loading