fix: breaking test from 0db0231cff

Also lowered export timeout to 5s
v1.18.x
Julian Lam 4 years ago
parent 04185d94c1
commit cc1c722092

@ -49,6 +49,8 @@ get:
type: number
viewcount:
type: number
postercount:
type: number
teaserPid:
type: number
nullable: true

@ -119,7 +119,7 @@ describe('Read API', async () => {
await socketUser.exportPosts({ uid: adminUid }, { uid: adminUid });
await socketUser.exportUploads({ uid: adminUid }, { uid: adminUid });
// wait for export child process to complete
await wait(20000);
await wait(5000);
// Attach a search hook so /api/search is enabled
plugins.registerHook('core', {

Loading…
Cancel
Save