function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Soni singh 6Soni singh 6 

Question on managed packages

q.) A changeset deployment from sandbox to production fails due to       failure in managed package unit test. The developer spoke with the managed package owner and they determine it is a false positive and can be ignored.
What should the developer do to deploy?
a.) Edit the managed package unit tests
b.) Select "Fast Deploy" to run only the test that are in change set
c.) Select "Run Local Tests" to run only the test that are in change set
d.) Select "Run Local Tests" to run only the test  in the org that are not in the managed package.
Best Answer chosen by Soni singh 6
Durai SaravananDurai Saravanan
Hi Soni Singh,

Good day!

d.) Select "Run Local Tests" to run only the test  in the org that are not in the managed package. is the answer. 

The 'Run Local Tests' option is for the purpose of running test classes that are written for apex classes present in our org, and this options restricts the test classes of  any managed pack that you have got from AppExchange.

This question shows, you're preparing for certification exams., All the very best. 

Hope this helps you get the exact picture.

Please mark this as 'Best Answer' if my reply was helpful. It will make it available for other as the proper solution.

Best regards,
Durairaj Saravanan