Skip to content

Duplicated tests when running with pytest-parallel #689

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

Closed
1 of 3 tasks
b0mbays opened this issue Sep 27, 2022 · 1 comment
Closed
1 of 3 tasks

Duplicated tests when running with pytest-parallel #689

b0mbays opened this issue Sep 27, 2022 · 1 comment

Comments

@b0mbays
Copy link

b0mbays commented Sep 27, 2022

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Hi, I have managed to get pytest-parallel and allure-pytest to run after following this suggestion but now we're seeing duplicated test cases inside the report when running in parallel.

In the screenshot below, the left hand side shows the generated files from pytest after a parallel run (24 files) and the right hand side is a normal run (6 files). It seems to be duplicated by 4.

Screenshot 2022-09-27 at 12 43 29

What is the expected behavior?

For there to be no duplicated test files.

What is the motivation / use case for changing the behavior?

Having the ability to run tests in parallel and generate reports would be very useful for users to speed up test executions.

Please tell us about your environment:

Thank you

@skhomuti
Copy link
Contributor

skhomuti commented Oct 6, 2022

yea, duplicate #348
I'll try to investigate this problem

@skhomuti skhomuti closed this as completed Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants