diff --git a/test/integration/banListTest.ts b/test/integration/banListTest.ts index 4a7110f..a6bed47 100644 --- a/test/integration/banListTest.ts +++ b/test/integration/banListTest.ts @@ -286,7 +286,8 @@ describe('Test: ACL updates will batch when rules are added in succession.', fun LogService.debug('BanListTest', `aclEventCount: ${aclEventCount}`); // If there's less than two then it means the ACL was updated by this test calling `this.mjolnir!.syncLists()` // and not the listener that detects changes to ban lists (that we want to test!). - assert.equal(aclEventCount < 10 && aclEventCount > 2, true, 'We should have sent less than 10 ACL events to each room because they should be batched') + // It used to be 10, but it was too low, 30 seems better for CI. + assert.equal(aclEventCount < 30 && aclEventCount > 2, true, 'We should have sent less than 30 ACL events to each room because they should be batched') })); }) })