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

Stop running gulp components as part of the unit-tests #12761

Merged
merged 1 commit into from
Dec 19, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

The gulp components task is only necessary when running the reference-tests, since they use the SimpleLinkService during the annotationLayer sub-tests.
However, unit-tests don't actually use any part of the gulp components build, and we can thus reduce the overall runtime of the standalone unit-tests by not building unnecessary files.

The `gulp components` task is only necessary when running the reference-tests, since they use the `SimpleLinkService` during the `annotationLayer` sub-tests.
However, unit-tests don't actually use any part of the `gulp components` build, and we can thus reduce the overall runtime of the standalone unit-tests by not building unnecessary files.
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/3e5fcece05cedb4/output.txt

@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/5420f827eb033bb/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/5420f827eb033bb/output.txt

Total script time: 3.70 mins

  • Unit Tests: FAILED

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/3e5fcece05cedb4/output.txt

Total script time: 4.68 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit c3730c1 into mozilla:master Dec 19, 2020
@timvandermeij
Copy link
Contributor

Nice find!

@Snuffleupagus Snuffleupagus deleted the unittest-no-components branch December 19, 2020 21:35
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