You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be an issue with Gradle. I am not that well versed with Gradle. But my debugging seems to suggest that when we hit the flow here the parallel mode is getting reset back to null. This issue has been fixed in TestNG as of 6.14.2. You can try right clicking on your testng.xml suite file in your project and running it. You should see different thread ids.
To get past this in gradle as well, just add the parallel mode to your <test> tag as well and try again. You should be fine.
@juherr - Any idea on how to get this sorted out in gradle ? Should we ask @pgsung to raise a bug against gradle and follow it up there, while we close this issue here ?
TestNG Version
Expected behavior
Tests should run in the parallel mode with gradle 4.3.1 with testng.xml at https://github.com/pgsung/testng-bug/blob/master/src/test/resources/testng.xml
and source code at https://github.com/pgsung/testng-bug
test classes https://github.com/pgsung/testng-bug/tree/master/src/test/java/parallel/test
, thread ids should be different.
===============================================
content-backoffice-ci-uitest Suite
Total tests run: 3, Failures: 0, Skips: 0
Actual behavior
Tests not running in parallel mode with gradle 4.3.1
Is the issue reproductible on runner?
Eclipse runner version TestNG 6.13.0.201712040650 is actually running fine.
Test case sample
Workaround: switch back to 6.11
The text was updated successfully, but these errors were encountered: