diff --git a/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/DumpLogTest.java b/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/DumpLogTest.java index 97d339e9a7..d708f7d757 100644 --- a/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/DumpLogTest.java +++ b/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/DumpLogTest.java @@ -1,11 +1,12 @@ package test.java.main.java.com.djrapitops.plan.utilities.dump; import main.java.com.djrapitops.plan.utilities.file.dump.DumpLog; -import org.junit.Assert; import org.junit.Test; import java.util.Arrays; +import static junit.framework.TestCase.assertEquals; + /** * @author Fuzzlemann */ @@ -35,6 +36,6 @@ public void testDumpLogCreation() { "Iterable 2"; String result = testLog.toString(); - Assert.assertEquals(expResult, result); + assertEquals(expResult, result); } } diff --git a/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/HastebinTest.java b/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/HastebinTest.java index 5930488a71..be4618503c 100644 --- a/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/HastebinTest.java +++ b/Plan/test/test/java/main/java/com/djrapitops/plan/utilities/dump/HastebinTest.java @@ -53,9 +53,9 @@ public void checkAvailability() throws Exception { thread.start(); try { - thread.join(); + thread.join(5000); } catch (InterruptedException e) { - Log.info("InterruptedException: " + e.getMessage()); + Log.info("Hastebin timed out"); } Log.info("Hastebin Availability Test Link: " + testLink.get());