fix(e2e): return exit codes on failure of e2e tests#1025
fix(e2e): return exit codes on failure of e2e tests#1025marc-sensenich wants to merge 32 commits intoangular:masterfrom marc-sensenich:e2e-exit-code
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
CLAs look good, thanks! |
Cleaning up the spec test in an attempt to resolve Travis OSX build issues
…`init` This features adds a `--material` flag to the `new` and `init` options. This streamlines the process of the adding of Angular Material to a new project
|
Thanks for the contribution! Overall it looks good, but seems to be failing on OSX. I restarted it but it's still failing. Can you have a look? |
|
I'll look into that issue and try to replicate it locally. I haven't been able to replicate on my MacBook. |
On a failing e2e test, reject the promise so that the exit code is not 0.
|
It seems to fail not on your new tests, but rather on our e2e suite. That might be because since you fixed the It might be helpful to print stdout and stderr in https://github.com/angular/angular-cli/blob/master/tests/e2e/e2e_workflow.spec.js#L130 to see what's wrong when running on the CI. |
remove extraneous reject from task
|
I matched the change you made on .travis.yml and it ran successfully on my Travis instance https://travis-ci.org/marc-sensenich/angular-cli/builds/136321458. It seems to be failing on the projects instance |
|
@marc-sensenich the new failures were due to a recent change in master. The old failures where because it turns out that I did this because I ran into a situation where the acceptance test was accepting failures in the Thanks for picking this issue up by the way, it was leading to some hard to detect silent fails! |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
If there is an error, returns the exit code associated with the error in the promise, else returns 0.
Fixes #1017