New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The test class runs very slowly #5559
Comments
@zt15242 Can you let us know the following info? Salesforce Extension Version in VS Code: Are these Apex test classes ones that you have seen compile and run quickly in the past, or are these new tests? What kind of org are you using? Production, sandbox, scratch org, or Trailhead Playground? You mentioned that the Apex test classes fail to compile - what are the compilation error messages? Check the following places:
Regarding the slow-running Apex tests - go to Setup -> Apex Test Execution. On that page, click Options. In the popup, is the box for |
@daphne-sfdc I checked the system and found that disabling parallel vertex testing is checked |
Hi @zt15242 - Where do you run the apex tests from? Developer console or the VS Code extensions? Also please let us know what the exact compilation errors are. |
Hi @mingxuanzhangsfdx |
@zt15242 Given you are seeing the slow runs in both dev console and vscode, I would suggest contacting Salesforce Support as this appears to be a server side issue. |
This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted. |
Recently, we found that the test class is running very slowly and even fails to compile. Has anyone encountered the same situation? Please guide us on how to solve it.
The text was updated successfully, but these errors were encountered: