Gradle 3.2.1 issue with TestNG

I have a multi project setup. In one of the the child projects, i have overwritten the test task to use testNG as such:
test {
scanForTestClasses = false
useTestNG() {
suites ‘testNGSuite1.xml’
}
The path is correct. There are 3 test classes mentioned in the suite.xml like so:





However when running
gradle build on the project, the tests run, but in a loop(1-2-3-1-2…) and do not stop. Is there something i am missing or doing wrong?