fix: breaking test from 0db0231cff

Also lowered export timeout to 5s
This commit is contained in:
Julian Lam
2020-10-27 16:55:08 -04:00
parent 04185d94c1
commit cc1c722092
2 changed files with 3 additions and 1 deletions

View File

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

View File

@@ -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', {