Diagnostic output
This commit is contained in:
parent
378b893db9
commit
4c74681021
@ -28,6 +28,14 @@ import java.util.Arrays;
|
|||||||
"org.thingsboard.server.rules.lifecycle.sql.*Test"})
|
"org.thingsboard.server.rules.lifecycle.sql.*Test"})
|
||||||
public class RuleEngineSqlTestSuite {
|
public class RuleEngineSqlTestSuite {
|
||||||
|
|
||||||
|
static {
|
||||||
|
SecurityManager appsm = System.getSecurityManager();
|
||||||
|
System.out.println("SECURITY MANAGER = " + appsm);
|
||||||
|
if (appsm != null) {
|
||||||
|
System.out.println("SECURITY MANAGER CLASS = " + appsm.getClass());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@ClassRule
|
@ClassRule
|
||||||
public static CustomSqlUnit sqlUnit = new CustomSqlUnit(
|
public static CustomSqlUnit sqlUnit = new CustomSqlUnit(
|
||||||
Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"),
|
Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"),
|
||||||
|
|||||||
@ -29,6 +29,14 @@ import java.util.Arrays;
|
|||||||
@ClasspathSuite.ClassnameFilters({"org.thingsboard.server.system.sql.*SqlTest"})
|
@ClasspathSuite.ClassnameFilters({"org.thingsboard.server.system.sql.*SqlTest"})
|
||||||
public class SystemSqlTestSuite {
|
public class SystemSqlTestSuite {
|
||||||
|
|
||||||
|
static {
|
||||||
|
SecurityManager appsm = System.getSecurityManager();
|
||||||
|
System.out.println("SECURITY MANAGER = " + appsm);
|
||||||
|
if (appsm != null) {
|
||||||
|
System.out.println("SECURITY MANAGER CLASS = " + appsm.getClass());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@ClassRule
|
@ClassRule
|
||||||
public static CustomSqlUnit sqlUnit = new CustomSqlUnit(
|
public static CustomSqlUnit sqlUnit = new CustomSqlUnit(
|
||||||
Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"),
|
Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user