Skip to content

Commit

Permalink
Merge pull request #12372 from Snuffleupagus/skip-FBF-makeref
Browse files Browse the repository at this point in the history
Skip failing FBF tests, when running `makeref`, in Firefox as well
  • Loading branch information
timvandermeij authored Sep 13, 2020
2 parents b058266 + 1876744 commit 741ce4f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,14 @@ function checkFBF(task, results, browser, masterMode) {
continue;
}
if (r0Page.snapshot !== r1Page.snapshot) {
// The FBF tests fail intermittently in Google Chrome when run on the
// bots, ignoring `makeref` failures for now; see https://github.com/mozilla/pdf.js/pull/11491
if (masterMode && /chrom(e|ium)/i.test(browser)) {
// The FBF tests fail intermittently in Firefox and Google Chrome when run
// on the bots, ignoring `makeref` failures for now; see
// - https://github.com/mozilla/pdf.js/pull/12368
// - https://github.com/mozilla/pdf.js/pull/11491
//
// TODO: Figure out why this happens, so that we can remove the hack; see
// https://github.com/mozilla/pdf.js/issues/12371
if (masterMode) {
console.log(
"TEST-SKIPPED | forward-back-forward test " +
task.id +
Expand Down

0 comments on commit 741ce4f

Please sign in to comment.