Closed firasm closed 10 months ago
What if you run it in GitHub Codespaces, will the same error happens for the first test execution?
I just tried it - and no, I cannot reproduce it in GitHub Codespaces, it runs fine the first time.
I assume this means the issue is likely somewhere in code-server
configuration?
I'm not familiar with Code Server, seems like yes.
Maybe some filesystem issue that the .class file is not discovered? I dont know...
Fair enough - I'll close this for now and hope someone there can help. Thanks for the fast reply!
Hello,
My colleagues and I are trying to use the "Test Runner for Java" extension in a workspace using VS Code in the browser (specifically the code-server project).
We are trying to troubleshoot a really strange issue that only shows up in the cloud, and not when trying to run things locally.
Here is a very very simple Java project that when it's run in the browser, gives a
Class not found model.SampleTest
error.However, when you do nothing else except just run the test one more time, it works just fine:
This happens for every project that's run in the cloud this way, so we are nearly 100% sure that it's got something to do with being execute remotely. The stack trace seems useful, but it's not something that gives me any insight so I thought I'd post here to ask for help in troubleshooting!
I'll be cross-posting this in the code-server project to get some more eyes on it...