You need to sign in to do that
Don't have an account?
Youstina Guirguis
Long-Running Tests error when deploying to Production.
I have an Email Message Trigger written on the Sandbox which follows the best practices when I run the test class on the Sandbox, it passes, but when I deploy to Production I receive this error: Long-Running Tests
The following tests have long execution times. To improve each test's performance, be sure to follow Apex and SOQL best practices.
Does anybody have any idea what I should do to pass the test class on Production?
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_seealldata_using.htm
No, I am creating my own test data.