You need to sign in to do that
Don't have an account?
amidstcloud
More than 5 Batch Apex Issue.
When I am performing RUN ALL Test in my Org. I m getting the below Issue.
Failure Message: "System.LimitException: Attempted to schedule too many concurrent batch jobs in this org (limit is 5).",
I am having a quite number of batch Apex test class.. and I am performing the Database.Execute in the all the batch apex test class to cover the code.. Am I missing or breaking something here.. Please let me know.. thanks
Ankit
If yes how many ?
Make sure from a single testmethod you cant schedule/run more than 5 batches.
Also check if you have trigger that executes the batch class.