Skip to content

Fix various issues related to functional tests #501

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

Merged
merged 1 commit into from
Feb 2, 2019

Conversation

Lyrkan
Copy link
Collaborator

@Lyrkan Lyrkan commented Jan 24, 2019

This PR fixes various things that currently make the tests result indicators quite unreliable:

  • Set a DISABLE_UNSTABLE_CHECKS environment variable and use it to disable some checks related to filenames with hashes that are subject to frequent changes (for instance runtime.xxxxxxxx.js when updating Webpack). This only applies to "Lowest versions of the dependencies" and "Highest versions of the dependencies" jobs.

  • Fix the Vue.js + Typescript test that was silently failing in the "Lowest versions of the dependencies" job (no idea why it worked for the other ones...)

  • Increase default timeouts of functional tests from 8s to 10s (since they were frequently failing because of that)

  • Restore the standard output at the beginning of the compiler callback in runWebpack() (doing it later could end up hiding the rest of the job's output if an exception was thrown)

@weaverryan
Copy link
Member

weaverryan commented Feb 2, 2019

What? The tests are green! Very sensible, and impressive updates. Thank you @Lyrkan! We really needed to get this cleaned up!

@weaverryan weaverryan merged commit b007c0e into symfony:master Feb 2, 2019
weaverryan pushed a commit that referenced this pull request Feb 2, 2019
This PR was merged into the master branch.

Discussion
----------

Fix various issues related to functional tests

This PR fixes various things that currently make the tests result indicators quite unreliable:

* Set a `DISABLE_UNSTABLE_CHECKS` environment variable and use it to disable some checks related to filenames with hashes that are subject to frequent changes (for instance `runtime.xxxxxxxx.js` when updating Webpack). This only applies to "Lowest versions of the dependencies" and "Highest versions of the dependencies" jobs.

* Fix the Vue.js + Typescript test that was silently failing in the "Lowest versions of the dependencies" job (no idea why it worked for the other ones...)

* Increase default timeouts of functional tests from 8s to 10s (since they were frequently failing because of that)

* Restore the standard output at the beginning of the compiler callback in `runWebpack()` (doing it later could end up hiding the rest of the job's output if an exception was thrown)

Commits
-------

b007c0e Fix various issues related to functional tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants