-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ClassCastException when use shouldUseGlobalThreadPool(true) property #3179
Comments
The root cause of the problem is how TestNG determines if it should use a
The flaw lies with how we determine which of the queues to use. Currently the logic considers both priority as well if any When
is used, Gradle sees that there is filtering enabled via Now because the number of method interceptors is more than 1, TestNG ends up trying to add a This should be fixed in a day or two (I have the fix ready) |
If a user is not using priority driven tests then TestNG should not consider any method interceptors that a user may be using. Closes testng-team#3179
If a user is not using priority driven tests then TestNG should not consider any method interceptors that a user may be using. Closes testng-team#3179
TestNG Version
Expected behavior
no exceptions
Actual behavior
there is exception:
Is the issue reproducible on runner?
Test case sample
Contribution guidelines
Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.
The text was updated successfully, but these errors were encountered: