You need to sign in to do that
Don't have an account?
Pb during the deployment of a trigger
Hello,
I try to deploy my trigger and its test class in production but I have this error :
Failure Message: "System.LimitException: Too many query rows: 50001", Failure Stack Trace:...
The code coverage of this trigger is 100%.
I think the pb is due to another test class for another trigger but the both (the 2 triggers and the 2 test classes) are on the same object (Opportunity).
The other trigger is already deployed.
I don't understand why the other Test Class is executed and for the wrong trigger ? Why don't it take the good test class ?
Could you explain to me and give me a solution for this pb ?
Thank you.