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

TestNG driver fails when doing parallel testing #320

Closed
lprimak opened this issue Mar 6, 2021 · 1 comment · Fixed by #322
Closed

TestNG driver fails when doing parallel testing #320

lprimak opened this issue Mar 6, 2021 · 1 comment · Fixed by #322

Comments

@lprimak
Copy link
Contributor

lprimak commented Mar 6, 2021

Issue Overview

Thread contention in the Engine class causes all sorts of different problems
This is caused by InheritableThreadLocal static variables in the TestNG implementation driver

Additional Information

PR is coming
There are two InheritableThreadLocal in Arquillian.java for TestNG:
deployableTest and cycleStack
The issues are coming up because these variables are actually shared among threads, and thus causing
issues. These need to be converted to regular ThreadLocals and initialized accordingly

@lprimak
Copy link
Contributor Author

lprimak commented Mar 9, 2021

Payara JIRA QACI-638

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

Successfully merging a pull request may close this issue.

1 participant