'Instantiating Tests' perpetually spins when test is run
This issue has been persistent for the last week for me.
Comments (6)
-
repo owner -
reporter Deleting all of the old configurations (which were just single test classes that were saved for some reason) then selecting 'current file' here fixed everything. [cid:image001.png@01D8DF3A.CF5A52D0]
Thanks for the help! Issue seems resolved to me.
-
repo owner Okay. I’m going to leave this open and see if I can reproduce this behavior. Needless to say, the underlying issue isn’t being surfaced to the user in a very useful manner. It’d be much better if I could minimally tell the user what’s going on--and stop that interminable test run!--and also perhaps guide the user to a solution.
-
reporter This problem arose for me again after the most recent update.
Following the instructions you provided before, I just opted to delete all existing run configurations and make a new one.
That fixed my issue. -
repo owner Hi, Matthew. Nothing changed in the area of testing in the last several releases except for
#2296which was delivered in 2.2.5.4. All that does is promote execution of exceptionally large numbers of test methods in a single test class to execution all all test methods in that class to work around an internal server error. My guess is that what you saw is an instance of the same issue as I haven’t addressed it (or reproduced it, but obviously it happens). I’ll try to take a look at it soon, though. -
repo owner - changed status to resolved
This should have been resolved in 2.2.6.3 (next-to-last bullet item).
- Log in to comment
Hi. It looks like perhaps the unit test run configuration may be pointing at a stale connection:
You might use Run>Edit Configurations to find the Apex Unit Tests run configuration being executed and make sure it’s pointing at a current connection for the project.