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

pytest -n 4 --jira-xray --testplan TestPlanId. If pytest-xdist is used, 2 test executions will be created, and the test cases in the test execution will be executed 2 times. #109

Open
hanyuecjz opened this issue May 17, 2024 · 1 comment

Comments

@hanyuecjz
Copy link

hanyuecjz commented May 17, 2024

pytest -n 4 --jira-xray --testplan TestPlanId. If pytest-xdist is used, 2 test executions will be created, and the test cases in the test execution will be executed 2 times.

@hanyuecjz hanyuecjz changed the title If pytest-xdist is used, 2 test executions will be created, and the test cases in the test execution will be executed 2 times. pytest --jira-xray --testplan TestPlanId. If pytest-xdist is used, 2 test executions will be created, and the test cases in the test execution will be executed 2 times. May 19, 2024
@hanyuecjz hanyuecjz changed the title pytest --jira-xray --testplan TestPlanId. If pytest-xdist is used, 2 test executions will be created, and the test cases in the test execution will be executed 2 times. pytest -n 4 --jira-xray --testplan TestPlanId. If pytest-xdist is used, 2 test executions will be created, and the test cases in the test execution will be executed 2 times. May 20, 2024
@fundakol
Copy link
Owner

Can you share example how to recreate that issue?
I have a simple test from xdist plugin, but I haven't seen any issue with it:
https://github.com/fundakol/pytest-jira-xray/blob/8153cc2d083b24eaebbd46dfc387b428c06c5472/tests/test_xray_plugin.py#L249C39-L250C4

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