Skip to content

Node.js based forum software built for the modern web

test: increase timeout

Barış Soner Uşaklı4ac9270a2ab9
diff --git a/test/messaging.js b/test/messaging.js
index fbec60234f..996ad14bdb 100644
--- a/test/messaging.js
+++ b/test/messaging.js
@@ -408,7 +408,7 @@ describe('Messaging Library', () => {
await db.sortedSetAdd('users:online', Date.now() - ((meta.config.onlineCutoff * 60000) + 50000), herpUid);
await socketModules.chats.send({ uid: fooUid }, { roomId: roomId, message: 'second chat message **bold** text' });
- await sleep(1500);
+ await sleep(3000);
const data = await User.notifications.get(herpUid);
assert(data.unread[0]);
const notification = data.unread[0];