Skip to content

Commit f74b800

Browse files
committed
fix: increase redis test timeout for CI
1 parent f36d239 commit f74b800

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

storages/redis/test/redis.storage.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ describe('RedisStorage', () => {
1616
port
1717
}
1818
});
19-
});
19+
}, 30000); // redis-memory-server may need time to download/start
2020

2121
afterAll(async () => {
22-
await storage.disconnect();
23-
await redisServer.stop();
24-
});
22+
if (storage) await storage.disconnect();
23+
if (redisServer) await redisServer.stop();
24+
}, 10000);
2525

2626
it('Should clear Redis without errors', async () => {
2727
await storage.clear();

0 commit comments

Comments
 (0)