mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-28 19:11:25 +01:00
Change some HastebinTest methods
This commit is contained in:
parent
47d97252a6
commit
5eecaf0b12
@ -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 class DumpLogTest {
|
||||
"Iterable 2";
|
||||
String result = testLog.toString();
|
||||
|
||||
Assert.assertEquals(expResult, result);
|
||||
assertEquals(expResult, result);
|
||||
}
|
||||
}
|
||||
|
@ -53,9 +53,9 @@ public class HastebinTest {
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user