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 88b12bb commit c1b15a9Copy full SHA for c1b15a9
packages/programs/data/shared-log/test/replication.spec.ts
@@ -1557,7 +1557,9 @@ testSetups.forEach((setup) => {
1557
db2.node.identity.publicKey.hashcode(),
1558
db3.node.identity.publicKey.hashcode(),
1559
]).include(unionFromPeer0[selfIndex === 0 ? 1 : 0]);
1560
- expect(unionFromPeer0).to.have.length(2);
+ // `getCover` can include extra peers due to ongoing background sync (syncInFlight),
1561
+ // which is timing-dependent and tends to happen more often for the u64 IBLT synchronizer.
1562
+ expect(unionFromPeer0).to.have.length.within(2, 3);
1563
1564
// the other ones should only have to cover themselves
1565
await Promise.all(
0 commit comments