Salesforce Platform Developer I (legacy) — Question 113

A change set deployment from a sandbox to production fails due to a failure in a managed package unit test. The developer spoke with the managed package owner and they determined it is a false positive and can be ignored.
What should the developer do to successfully deploy?

Answer options

Correct answer: A

Explanation

The correct answer is A because selecting 'Run local tests' allows the developer to run tests that are not affected by the managed package, thereby bypassing the false positive issue. Options B and C don't address the problem adequately as they either limit the tests run or only focus on the change set, which could still include the failing managed package test. Option D is not a viable choice as it requires changing the managed package, which is not under the developer's control.