Find your content:

Search form

You are here

1.how to stop run all tests? 2.validation running for about 6 hours in production. how to stop it?

 
Share

How to stop run all tests?

I have clicked run all tests in my sandbox and usually gets completed in about 15 minutes. Now its running for about an hour and still not completed?

Note :- Mine is a stage sandbox and now i have written about some 50 more classes and test classes for each of them

is there any way to stop that? Also can I check whats happening behind the scenes and why it is getting delayed?

** Edited * Clicked on validate in the changeset that I have uploaded to Production with 700 components.. Its getting validated for the past 6 hours in production and still says in progress.. any ways to stop it???


Attribution to: Sathya

Possible Suggestion/Solution #1

I believe you cant monitor the Run All Tests you've set off by clicking on the button. However doing it via the Force.com Migration Tool gives you a process id, which you can query to get the status of the deployment.

However if you run validate only via the IDE, you can see the progress at Setup > Deploy > Monitor Deployments


Attribution to: techtrekker

Possible Suggestion/Solution #2

AFAIK, You cannot stop them. Depending on how your tests were written it may take a long time. If you notice the tests are still running after a long period of time, you may want to contact salesforce support so they can take a look at the process.


Attribution to: PepeFloyd

Possible Suggestion/Solution #3

Setup->Develop->Apex Test Execution->Select all or Required test classes->Click on "Abort" button.


Attribution to: Ramakrishna Yella
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/3302

My Block Status

My Block Content