Disable logging for DB performance tests only.

This commit is contained in:
akwizgran
2017-12-15 15:43:33 +00:00
parent f7a3b0f6ca
commit 0a7b810fce
2 changed files with 7 additions and 4 deletions

View File

@@ -1,9 +1,7 @@
package org.briarproject.bramble.test;
import java.lang.Thread.UncaughtExceptionHandler;
import java.util.logging.Logger;
import static java.util.logging.Level.OFF;
import static org.junit.Assert.fail;
public abstract class BrambleTestCase {
@@ -15,7 +13,5 @@ public abstract class BrambleTestCase {
fail();
};
Thread.setDefaultUncaughtExceptionHandler(fail);
// Disable logging
Logger.getLogger("").setLevel(OFF);
}
}