1

While running unit Tests in my Sandbox, i got the Following Error and i cannot continue with tests. Message is:

Failed to enqueue tests.: An unknown exception occurred.

Any ideas ?

2

The reason of the given error message is that maximum amount of unit tests executions per 24 hours is reached.

According to the documentation:

The maximum number of test classes you can run per 24-hour period is the greater of 500 or 10 multiplied by the number of test classes in the org. For sandbox and Developer Edition organizations, this limit is the greater of 500 or 20 multiplied by the number of test classes in the org.

One of the approaches could be to clone a sandbox (if there are unused licenses of same type) and run tests there.

  • Thank you so much. Have a good day! – Giorgos Galaios Oct 6 '19 at 5:56
  • Any idea how to check your current test limit? and to see the time when it will be reset? – user2015 Nov 14 '19 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.