-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
monorepo multiple pytests used to discover fine. now hangs forever. #22874
Comments
Hi! Spoke with my team and need to investigate this more. (Ignore my previous deleted message as I understand the scenario/setup now) |
I wondered if it's something to do with the |
Hi @Jackbennett, sorry for the delay!! Wanted to follow up and see if there was any progress here. If not, could you please send me a minimal repro of your setup? What I am mostly concerned about is the pyproject.toml and rootdir as seen below since these could be causing the path or location of pytest's search to be disrupted:
|
Hello! I am closing this issue since we have not heard back on the above question, please comment with the requested information if you are still experiencing this problem and I can re-open it. Thanks |
I recreated the setup and an example repo but I'm now* getting the expected tests found. Perhaps I hand an error, perhaps something in this time past fixed it. Awful typo. |
Hi! Could you send an example repro of your project so I can try it on my machine? |
Type: Bug
Behaviour
Discover multiple trees of tests.
Expected vs. Actual
Expected all the tests from multiple listed locations in a tree, instead we hang forever
Steps to reproduce:
If I comment out either path, the tests get discovered. with both the output lists the test function and hangs. This used to work, like a long time ago, I just never made an issue. Possibly before the new discovery adapter, I think I used to have a setting to use the old mechanism, but obviously that's now been removed.
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)that's it, we hang there forever. the UI never updates.
User Settings
Extension version: 2024.0.1
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.1.61-talos
Remote OS version: Linux x64 6.1.61-talos
Connection to 'SSH: linux1' could not be established Canceled
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: