Skip to content
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

new pytests cannot be triggered or queued while previous ones are running #22782

Closed
danieltuzes opened this issue Jan 24, 2024 · 8 comments
Closed
Assignees
Labels
area-testing community ask Feature request that the community expressed interest in feature-request Request for new features or functionality needs community feedback Awaiting community feedback

Comments

@danieltuzes
Copy link

danieltuzes commented Jan 24, 2024

I have multiple python tests set up, and VS Code testing tab finds them and individually or all together can be executed. The success or failure is successfully detected and displayed.

However, if I trigger one test from VS Code, and then want to queue or trigger another test before the previous one finishes, while it shows up on the test results tab next to the terminal, it is never executed.

image
In this example a test is executed at 1:54:50, and while running, I wanted to trigger or queue another 2 tests at 2:05:40 and at 2:06:25. There is no message in the TEST RESULTS tab for these 2 tests, only for the first test. After the first test completes, the tests I wanted to trigger at 2:05 and 2:06 are never executed.

Versions:
VS Code 1.82.2
python extension from MS: 2023.22.1
pylance: 2023.12.1

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 24, 2024
@eleanorjboyd
Copy link
Member

Will try and repo and take a look. We do not have the idea of "queued" instead all new requests while one is running will be canceled. This being said the icon coming up in the results tab is not ideal. Will look into that. If you want the "queued" feature you can open another issue and just label it as a feature request, thanks

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jan 25, 2024
@danieltuzes
Copy link
Author

Thank you for the explanation! As far as I remember in some previous versions I was able to trigger (or queue, I didn't check) new test runs while old ones were running. So you say that the expected behavior is to neglect (or simply delete) the request of new tests? The most straightforward could be that new test triggering is disabled while old tests are running.

Thanks for the idea for submitting a feature request!

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jan 25, 2024
@danieltuzes danieltuzes reopened this Jan 25, 2024
@eleanorjboyd eleanorjboyd self-assigned this Jan 25, 2024
@eleanorjboyd
Copy link
Member

Hi! Just confirmed this was not possible with the prior design, @connor4312 is this something that core has considered? I could queue them from my side but didn't know if this has been discussed at the vscode level.

@eleanorjboyd eleanorjboyd added feature-request Request for new features or functionality needs community feedback Awaiting community feedback community ask Feature request that the community expressed interest in and removed triage-needed Needs assignment to the proper sub-team labels Jun 28, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jun 28, 2024
Copy link

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

@connor4312
Copy link
Member

We don't have any global behavior for this, it's up to the extension to queue them if it can't run tests concurrently.

@eleanorjboyd
Copy link
Member

Given this, @danieltuzes it will stay a feature request and if it gets enough votes from the community will enter our backlog and will be prioritized based on upvotes. Thanks!

Copy link

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

Happy Coding!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
@eleanorjboyd eleanorjboyd reopened this Jul 30, 2024
@eleanorjboyd eleanorjboyd removed the info-needed Issue requires more information from poster label Jul 30, 2024
@eleanorjboyd
Copy link
Member

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue. PRs are welcome so you can create a PR that fixes this if you are passionate about getting this feature across the finish line. Thanks!

@eleanorjboyd eleanorjboyd closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing community ask Feature request that the community expressed interest in feature-request Request for new features or functionality needs community feedback Awaiting community feedback
Projects
None yet
Development

No branches or pull requests

3 participants