mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(ci): repair admin test config and a ttl race in api tests (#3054)
This commit is contained in:
1 parent
dcdf7e1d93
commit
360b984adc
2 files changed
+3
-3
No files matched your search
@@ -62,7 +62,9 @@ describe('queueBlocklistFeedStartupJobs', () => {
|
||||
expect(await kv.exists(INITIAL_SYNC_KEY)).toBe(0);
|
||||
|
||||
await queueBlocklistFeedStartupJobs(kv, createWorkerService(), true);
|
||||
expect(await kv.ttl(INITIAL_SYNC_KEY)).toBe(21600);
|
||||
const ttl = await kv.ttl(INITIAL_SYNC_KEY);
|
||||
expect(ttl).toBeGreaterThanOrEqual(21599);
|
||||
expect(ttl).toBeLessThanOrEqual(21600);
|
||||
});
|
||||
|
||||
it('a full jobs stream drops the job without failing startup', async () => {
|
||||
|
||||
Reference in new issue
Block a user