mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Tweak the issue 11878 unit-test parsing time check (PR 17428 follow-up)
This unit-test has been failing occasionally in Chrome and Node.js, hence we tweak the parsing time check to reduce the likelihood of that happening.
This commit is contained in:
parent
18959e80be
commit
19ef3e367b
1 changed files with 1 additions and 1 deletions
|
@ -3908,7 +3908,7 @@ Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`)
|
|||
checkedCopyLocalImage = true;
|
||||
// Ensure that the image was copied in the main-thread, rather
|
||||
// than being re-parsed in the worker-thread (which is slower).
|
||||
expect(statsOverall).toBeLessThan(firstStatsOverall / 5);
|
||||
expect(statsOverall).toBeLessThan(firstStatsOverall / 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue