0

I am trying to deploy a Custome Fields and Apex Classes (including test classes) from our sandbox to production. I used the Outbound Change Set and selected Custom Tab, Custom Object, and all Custom Fields in that object. the change set uploaded successfully but in inbound, I am getting this error:

Your code coverage is 72%. You need at least 75% coverage to complete this deployment.

6
  • 1
    Please check your class coverage which you are deploying
    – Himanshu
    Commented Mar 1, 2016 at 18:31
  • 2
    Your title says something about a failing test, but it didn't make it into your post. Please clarify.
    – Adrian Larson
    Commented Mar 1, 2016 at 18:32
  • I dont think it should be an issue with test failures on a managed package. Its most likely the class coverage of the existing classes. Please review code coverage of the existing classes in prodn and the classes you are deploying. You might have most likely forgotten to include the test class in your changeset
    – Prady
    Commented Mar 1, 2016 at 18:37
  • Thanks .. My problem is my apex classes and Test class have 80% code coverage but we have dupecather installed in our org so that dupecather test class is not allowing to deploy
    – Revanth
    Commented Mar 1, 2016 at 18:38
  • As far as i know, the test class of managed packages are not run during deployment. Refer this salesforce.stackexchange.com/questions/21507/…
    – Prady
    Commented Mar 1, 2016 at 18:48

1 Answer 1

2

Try setting your Apex Test Execution to run in succession rather than in parallel: Setup > Develop > Apex Test Execution. Select the Options button, and select Disable Parallel Apex Testing.

We made DupeCatcher. Feel free to reach out to us directly and we’ll try to help: [email protected]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .