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
studiopikastudiopika 

test execution stuck

 

My test class seems to have stuck, it's been running for over an hour. Any ways I can tell where it got hang up?

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox
Unfortunately not. The system does queue tests, but sometimes it seems to act unpredictably. Try these steps:

1. Abort any running tests under Apex Test Execution.
2. Go to View Test History and clear all entries.
3. Attempt to run your tests again.

All Answers

sfdcfoxsfdcfox
Unfortunately not. The system does queue tests, but sometimes it seems to act unpredictably. Try these steps:

1. Abort any running tests under Apex Test Execution.
2. Go to View Test History and clear all entries.
3. Attempt to run your tests again.
This was selected as the best answer
studiopikastudiopika
Thanks, will try that.
crop1645crop1645

I noted the date of 2013-11-08 and as this happened to me on the same date, I wouldn't be surprised if the root problem was connected with this: http://salesforce.stackexchange.com/questions/19374/winter-14-apex-test-execution-tests-never-finish/19426#19426