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

Wait until PDFDocumentLoadingTask.destroy is resolved before calling done in the API unit-tests #8399

Merged
merged 1 commit into from
May 11, 2017
Merged

Wait until PDFDocumentLoadingTask.destroy is resolved before calling done in the API unit-tests #8399

merged 1 commit into from
May 11, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

Try to ensure that everything, including workers, are properly destroyed before running the next test-case.

Please note: Even though this didn't magically fix the timeouts in PR #8284, it's still conceptually the right thing to do which is why I figured that I'd submit this PR.

…g `done` in the API unit-tests

Try to ensure that everything, including workers, are properly destroyed before running the next test-case.
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/80da8bf387c4c39/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/da99e4394ebad2a/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/80da8bf387c4c39/output.txt

Total script time: 2.22 mins

  • Unit Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/da99e4394ebad2a/output.txt

Total script time: 7.26 mins

  • Unit Tests: Passed

@yurydelendik yurydelendik merged commit 372fec6 into mozilla:master May 11, 2017
@yurydelendik
Copy link
Contributor

Thank you for the patch.

@Snuffleupagus Snuffleupagus deleted the unit-tests-wait-on-destroy branch May 11, 2017 17:48
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…-destroy

Wait until `PDFDocumentLoadingTask.destroy` is resolved before calling `done` in the API unit-tests
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