Skip to content

Commit 899a8bd

Browse files
committed
Reduce number of rooms involved in banListTest.ts
apparently this takes over 5 minutes on the little github acitons VM. Starting to wonder if this is really a sustainable setup.
1 parent b9284f0 commit 899a8bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/banListTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ describe('Test: ACL updates will batch when rules are added in succession.', fun
238238

239239
// Setup some protected rooms so we can check their ACL state later.
240240
const protectedRooms: string[] = [];
241-
for (let i = 0; i < 10; i++) {
241+
for (let i = 0; i < 5; i++) {
242242
const room = await moderator.createRoom({ invite: [mjolnirId] });
243243
await mjolnir.client.joinRoom(room);
244244
await moderator.setUserPowerLevel(mjolnirId, room, 100);
@@ -306,7 +306,7 @@ describe('Test: unbaning entities via the PolicyList.', function() {
306306
const mjolnirId = await mjolnir.client.getUserId();
307307

308308
// We'll make 1 protected room to test ACLs in.
309-
const protectedRoom = await moderator.createRoom({ invite: [mjolnirId], name: "Look for me" });
309+
const protectedRoom = await moderator.createRoom({ invite: [mjolnirId] });
310310
await mjolnir.client.joinRoom(protectedRoom);
311311
await moderator.setUserPowerLevel(mjolnirId, protectedRoom, 100);
312312
await mjolnir.addProtectedRoom(protectedRoom);

0 commit comments

Comments
 (0)