Vscode-java-test: Often get "A test session is currently running. Please wait until it finishes."

Created on 13 Oct 2019  路  8Comments  路  Source: microsoft/vscode-java-test

All I have to do is start my VSCode often...

bug

Most helpful comment

Hey @ZhengguanLi,

I'll take a look to this issue. For now, you can use the command: Java: Cancel Test Job as a workaround.

All 8 comments

Hey @ZhengguanLi,

I'll take a look to this issue. For now, you can use the command: Java: Cancel Test Job as a workaround.

This happens reliably for me when I run tests when the project has a compiler error.

Clicking 'Abort' on the 'Build Failed' seems to leave the test job running without hope for completion.

This may be a different use case than OP's since it doesn't happen on startup, only when I trigger tests

Hi @all.

Thank you for the feedback. I've noticed this issue and try to fix it in: #839 & #850. The fix should be released in next week.

Hi @ALL,

The new version is released. Please let me know if the problem is still there or not when you get a chance to play with the newest version.

Thanks.

The few issues I had are now resolved. I like the new FIX menu and will have to play around with it more.

Thanks! :+1:

Thank you @calvin1864 for the information.

I'll close this issue for now. If the problem still occurs, please let me know.

Thanks.

Hey @ZhengguanLi,

I'll take a look to this issue. For now, you can use the command: Java: Cancel Test Job as a workaround.as a workaround.as a workaround.

Hi @jdneo,
Excuse me but what exactly do you mean with the command Java: Cancel Test Job? this isn't clear enough since it is not a valid command.
Thanks.

@shiroukamui What do you mean by:

it is not a valid command.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spottedmahn picture spottedmahn  路  7Comments

thegabriele97 picture thegabriele97  路  8Comments

fbricon picture fbricon  路  5Comments

gabloe picture gabloe  路  7Comments

lashchev picture lashchev  路  5Comments