From 47a5550f101ff56cd1502ad7b28c40f26b34638b Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Wed, 10 Mar 2021 10:38:09 -0800 Subject: [PATCH] Disable intermittent unit test "creates pdf doc from non-existent URL" Disable this test so we don't have to manually review unit test failure log all the time. --- test/unit/api_spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js index 6c47f3244..f81ef1110 100644 --- a/test/unit/api_spec.js +++ b/test/unit/api_spec.js @@ -169,6 +169,10 @@ describe("api", function () { }); }); it("creates pdf doc from non-existent URL", function (done) { + if (!isNodeJS) { + // re-enable https://github.com/mozilla/pdf.js/issues/13061 + pending("Fails intermittently on linux in browsers."); + } const loadingTask = getDocument( buildGetDocumentParams("non-existent.pdf") );