UT-SE-Research / iDFlakies

29 stars 33 forks source link

Running iDFlakies in the same directory as Maven Surefire #42

Open winglam opened 3 years ago

winglam commented 3 years ago

As discussed in this comment:

The difference between Surefire and iDFlakies/testrunner is because they run tests from a different current directory: mvn -pl innodb-java-reader-cli test runs from innodb-java-reader/innodb-java-reader-cli whereas mvn -pl innodb-java-reader-cli testrunner:testplugin runs from just innodb-java-reader. If you replace mvn -pl innodb-java-reader-cli testrunner:testplugin with cd innodb-java-reader-cli; mvn testrunner:testplugin, it works as expected.