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
WenLong TanWenLong Tan 

SOS! Encounter an error while run test: admin operation already in progress

Hi, 

Today while I run test in Develop Console, I always get an error: 'Failed to run test synchronously:admin operation already in progress'
Is there anyone know what this means and how to avoid this? Thanks in advance. 
Best Answer chosen by WenLong Tan
WenLong TanWenLong Tan
Hi Nagendra, 

Thanks for your reply, I think this error is due to our SFDC environment is in update progress, so it is not relevant to development and no need to fix, although it is really annoying. 

Best Regards,
WenLong Tan

All Answers

NagendraNagendra (Salesforce Developers) 
Hi WenLong Tan,

While executing the test class you are getting the above error,but if you can elaborate a bit more what exactly is the operation you are doing we can help you to solve your concern as early as possible.

Best Regards
Nagendra.P
WenLong TanWenLong Tan
Hi Nagendra, 

Thanks for your reply, I think this error is due to our SFDC environment is in update progress, so it is not relevant to development and no need to fix, although it is really annoying. 

Best Regards,
WenLong Tan
This was selected as the best answer
SebaKSebaK
In developer console you can click Test and check Always Run Asynch.