tamaashu commented on a change in pull request #372:
URL: https://github.com/apache/curator/pull/372#discussion_r484383410
##########
File path: curator-client/src/test/java/org/apache/curator/BasicTests.java
##########
@@ -30,15 +37,13 @@
import org.apache.zookeeper.ZooDefs;
import org.apache.zookeeper.ZooKeeper;
import org.mockito.Mockito;
-import org.testng.Assert;
-import org.testng.annotations.Test;
import java.util.concurrent.Callable;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicBoolean;
public class BasicTests extends BaseClassForTests
{
- @Test
+ @RepeatedIfExceptionsTest(repeats = BaseClassForTests.REPEATS)
Review comment:
@Randgalt I you also prefer the maven based solution, I can change it,
it's not a big deal.
The only difference is that then we cannot define on test level which tests
should re-run if fail. But I don't see it as a problem.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]