You need to sign in to do that
Don't have an account?
Rachel Zelkina 18
Too many DML Statement Error in Production but not in Newly Refreshed Sandbox
When deploying a process flow or workflow rule to Production I received an error saying that there were too many dml statements for two test classes. I then reran the the tests via dev console (without deploying the change set) and saw the same errors.
The tests weren't failing in a recently refreshed sandbox. So I created a new sandbox today and was planning on systematically deleting any changes made in production since last week when I refreshed the sandbox where the tests passed, however the tests also passed in the sandbox I created today even though they failed in Production! Whats happening?! How can tests fail in Production and not in a newly refreshed sandbox?
The tests weren't failing in a recently refreshed sandbox. So I created a new sandbox today and was planning on systematically deleting any changes made in production since last week when I refreshed the sandbox where the tests passed, however the tests also passed in the sandbox I created today even though they failed in Production! Whats happening?! How can tests fail in Production and not in a newly refreshed sandbox?
Rachel Zelkina 18
For a little more info - one of the test classes error says too many DML rows not statements and the other error I get is flow errors indicating too many soql statements. Again, this is only happening in Production and not in Sandbox.