Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to reduce intermittent failures in the "cleans up document resources during rendering of page" unit-test #12126

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

This patch should hopefully remove the Unhandled promise rejection: ... errors, by returning the "final" promise. Also, by pausing/delaying of rendering slightly the likelihood of the test failing in the first place should thus be reduced.

…sources during rendering of page" unit-test

This patch should *hopefully* remove the `Unhandled promise rejection: ...` errors, by returning the "final" promise. Also, by pausing/delaying of rendering slightly the likelihood of the test failing in the first place should thus be reduced.
@timvandermeij
Copy link
Contributor

/botio-linux unittest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/e1ea7b64a0631c9/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/e1ea7b64a0631c9/output.txt

Total script time: 3.78 mins

  • Unit Tests: FAILED

@timvandermeij
Copy link
Contributor

/botio-linux unittest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/436e23ba62d1bf7/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/436e23ba62d1bf7/output.txt

Total script time: 3.80 mins

  • Unit Tests: FAILED

@timvandermeij
Copy link
Contributor

/botio-linux unittest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/9cfd3fc9938b818/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/9cfd3fc9938b818/output.txt

Total script time: 3.79 mins

  • Unit Tests: FAILED

@timvandermeij timvandermeij merged commit 01e2610 into mozilla:master Jul 26, 2020
@timvandermeij
Copy link
Contributor

Nice find! It hasn't failed anymore and it's also more consistent with the unit tests above it where the cleanup promise is also returned.

@Snuffleupagus Snuffleupagus deleted the unittest-shall_fail_cleanup branch July 26, 2020 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants