[cleanup][package-management] Use TestNG instead of JUnit
@@ -27,8 +27,7 @@ import static org.apache.bookkeeper.bookie.BookKeeperServerStats.BOOKIE_SCOPE;
import static org.apache.bookkeeper.bookie.BookKeeperServerStats.LD_INDEX_SCOPE;
import static org.apache.bookkeeper.bookie.BookKeeperServerStats.LD_LEDGER_SCOPE;
import static org.apache.bookkeeper.util.BookKeeperConstants.AVAILABLE_NODE;
-import static org.junit.Assert.assertFalse;
-
+import static org.testng.Assert.assertFalse;
import com.google.common.base.Stopwatch;
import java.io.File;
import java.io.IOException;
@@ -199,7 +198,7 @@ public abstract class BookKeeperClusterTestCase {
LOG.error("Got async exception: ", e);
failed = true;
}
- assertFalse("Async failure", failed);
+ assertFalse(failed, "Async failure");
Stopwatch sw = Stopwatch.createStarted();
LOG.info("TearDown");
Exception tearDownException = null;
