-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cleanup(angular): consolidate and improve e2e-angular-core tests #15726
cleanup(angular): consolidate and improve e2e-angular-core tests #15726
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
090385a
to
85aee88
Compare
@leosvelperez, when you look at the tests and their timings: Total time: 1057306ms = ~17min Test details You can spot several bottlenecks:
|
@meeroslav thanks for the tips! Those are great and I will work on applying them. As mentioned in the PR description, I'll split the tests on a separate PR. I also want to check the |
Please note that each test project splitting leads to a multiplication of git checkout, yarn install, verdaccio publish... This should truly be only the last resort and only makes sense for test projects that take longer than 10 minutes since the preparation part often takes up to 3-4 minutes. |
That is why I'm keeping it as a separate change and don't want to just extract the MF tests into a project. If it comes to splitting the projects, it would be better to split the current two projects into three to have a more even split. |
85aee88
to
5ac4689
Compare
@meeroslav I addressed the changes you requested except:
Additionally, I removed an additional test suite I realized was testing something we don't really target to support, so we shouldn't be testing it. |
5ac4689
to
b7fa75d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Thank you!
b7fa75d
to
fed7b0c
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
What it does
ng-cli.test.ts
With the changes in the PR, the time is reduced, but it's still insufficient to meet the target. The last run did end up below the 15-minute mark (14m 27s), but there's currently a test case that's temporarily disabled which will bring the time up once enabled. In a separate branch/PR I'll explore splitting the test project.The latest run took 12m 56s, so we seem to meet the target now. We'll keep an eye on it.