-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Gitpod tests taking long to run and fails to respond further #14155
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
Comments
Which repo? Which tests? Sounds like an issue with a project setup. |
Hey, we are trying to use the extension 'https://github.com/Microsoft/vscode-java-test' to run the java tests, which seems to run take a long execution time. You can replicate this issue by running the tests in this example repo - https://github.com/gitpod-io/spring-petclinic - given by gitpod itself using the above extension. |
@andreafalzetti Could you try to reproduce it since you're on-call this week 🙏 |
@mustard-mh @jeanp413 is there a way to see logs for vscode extensions? I suspect it gets stuck at detecting the maven home or some other param from the workspace, but without logs it's hard to say. |
@ArbeenaAzeeb1 could you try again, we just did some updates related to java extension, can you still reproduce? |
@ArbeenaAzeeb1 @LorenzoBettini if you have a reproducible repo it would be helpful that we can confirm exactly for your case 🙏 |
@akosyakov I did some experiments some time ago in this repo https://github.com/LorenzoBettini/maven-gitpod-example I'm trying to reopen it right now... apparently, installing Java extension pack is taking ages so I still can't verify that the problem is fixed. Is https://github.com/gitpod-io/spring-petclinic working? |
and while installing the extension I get a popup on the right-bottom saying "missing gallery" |
yes, there is a bug in VS Code taking it forever, you can work around by reloading the page
Ouch, I have not seen such. Could you share a screenshot or collect logs https://www.gitpod.io/docs/help/troubleshooting#gitpod-logs-in-vs-code-browser-and-desktop 🙏 |
@akosyakov yes, reloading seems to fix the problem with Java extensions being installed. I confirm that now I can run the tests: :) |
@jeanp413 @mustard-mh it seems to be another follow up of a root cause for #14626? Closing as a dup? Can we cherry pick a fix in other version of VS Code to unblock VS Code browser users? |
yep this is duplicate of #14626 Original issue about running java test should be fixed now |
Bug description
When a user tries to run tests via Gitpod, it shows that the tests are running for a long duration. However, they are not able to receive the response of the test run. It stops responding further.
Steps to reproduce
Write a test code and try running it using the 'Run' icon
Workspace affected
All workspaces
Expected behavior
Tests should run without any lag
Example repository
Our repo is private as of now. We are working on some student submitting assignments and we have tests written as a part of it. These unit tests are taking long to run
The text was updated successfully, but these errors were encountered: