mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
The previous change that set the timeout had effect because we have seen quite a few protocol timeouts now correctly being raised in the context of the active test, however we have also still seen a handful of cases where this wasn't the case and the one second difference turned out to be too low (likely because the operation was started slightly after one second into the test run). We therefore tweak the value to be 75% of the Jasmine timeout. This should be enough to catch operations that happen later on in the test run, and if a single operation takes that long any hope for success is already gone anyway.