mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Fix Tests
This commit is contained in:
parent
7587792c73
commit
a5d90f092d
@ -48,8 +48,6 @@ public abstract class SQLDB extends Database {
|
||||
killsTable = new KillsTable(this, usingMySQL);
|
||||
worldTable = new WorldTable(this, usingMySQL);
|
||||
worldTimesTable = new WorldTimesTable(this, usingMySQL);
|
||||
|
||||
setupDataSource();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -69,6 +67,8 @@ public abstract class SQLDB extends Database {
|
||||
String benchName = "Init " + getConfigName();
|
||||
Benchmark.start(benchName);
|
||||
try {
|
||||
setupDataSource();
|
||||
|
||||
if (!setupDatabase()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user