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

Use fs.unlinkSync instead of fs.unlink when removing files in the font tests #9774

Merged
merged 1 commit into from
Jun 3, 2018

Conversation

timvandermeij
Copy link
Contributor

@timvandermeij timvandermeij commented Jun 3, 2018

Another issue found when upgrading the test infrastructure. Refer to #9758 (comment) for the original report, of which this patch is a follow-up.

This should prevent [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated in the logs.

@timvandermeij
Copy link
Contributor Author

/botio fonttest

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2018

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/0c9c1f6b78b4ee2/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2018

From: Bot.io (Windows)


Received

Command cmd_fonttest from @timvandermeij received. Current queue size: 1

Live output at: http://54.215.176.217:8877/5f4c2bb25e0a63a/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2018

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/0c9c1f6b78b4ee2/output.txt

Total script time: 1.72 mins

  • Font Tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Jun 3, 2018

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/5f4c2bb25e0a63a/output.txt

Total script time: 4.37 mins

  • Font Tests: Passed

@timvandermeij timvandermeij merged commit 5053d02 into mozilla:master Jun 3, 2018
@timvandermeij timvandermeij deleted the unlink branch June 3, 2018 20:27
@timvandermeij
Copy link
Contributor Author

Trivial (the font tests still work and no more deprecation warnings are logged).

movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Use `fs.unlinkSync` instead of `fs.unlink` when removing files in the font 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.

2 participants