mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Chore: Try to fix random test timeout
This commit is contained in:
parent
7d68dafaed
commit
6f83ccd044
@ -75,7 +75,12 @@ describe('OcrService', () => {
|
||||
expect(processedResource2.updated_time).toBeGreaterThan(resource2.updated_time);
|
||||
|
||||
await service.dispose();
|
||||
});
|
||||
|
||||
// On CI these tests can randomly throw the error "Exceeded timeout of
|
||||
// 90000 ms for a test.". So for now increase the timeout and if that's
|
||||
// not sufficient it means the test is simply stuck, and we should use
|
||||
// `jest.retryTimes(2)`
|
||||
}, 60000 * 5);
|
||||
|
||||
it('should process PDF resources', async () => {
|
||||
const { resource } = await createNoteAndResource({ path: `${ocrSampleDir}/dummy.pdf` });
|
||||
|
Loading…
Reference in New Issue
Block a user