You need to sign in to do that
Don't have an account?
Imposter
Managed package failures causing deployment to fail
Hey Geeks,
I am trying to deploy a page layout from my dev org to a production org.
The production org contains a managed package (installed from appExchange).
While running all tests, the managed package shows 3 test failures. There is no other custom code in the org.
My deployment is failing due to package errors. I believed the managed packages errors, don't affect local deployments. Has this been modified in latest release ?
It would be great, if somebody can confirm !
Thanks
I believe it has always been the case that all tests have to pass in order for a deployment to be successful, including those from a managed package. Usually this means something has changed on the configuration side to invalidate the managed package tests, a new validation rule or required field for example. If you can find out what is causing the failures you can temporarily disable that to allow your deployment to succeedand then enable it again.
Hey Bob,
Thanks for the response.
Managed package is reporting failures, related to some asserts.
But keeping that point aside, I distinctly remember doing successful deployments on production orgs , with code failures from managed packages.
I tried using ANT, with runAllTests = false, and rollbackOnError = false, but with no success.
I suspect I have missed documentation related to this change in behavior.