function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LBartonLBarton 

Apex Test Execution Not Running

Apex Tests are running in our production environment just fine and they all pass.  However, in the Test Sandbox nothing is happening. I select tests and all the tests remain at queued without any results for pass or fail. what can i do to get the tests running in the Sandbox. They used to run just as well as they do now in the Production version.
Deepak Kumar ShyoranDeepak Kumar Shyoran
You don't need to anything externally for this, as sometimes salesforce based on load of server put the execution of test class in queue for sometime when server finished previously schedule job or task it'll automatically run those test class which you scheduled.
Dana ReedDana Reed
LBarton, I have the same problem. I'm a developer with System Administrator profile, and for some reason I can Queue tests, but they stay queued - for days!
The company's Salesforce admin guy will queue the same tests, but they actually run.
What setting is different between us?
Thanks.
LBartonLBarton
Sorry, I don't know.  I have to wait for a long time for the tests to run.