Showing
2 changed files
with
16 additions
and
0 deletions
@@ -28,6 +28,14 @@ import java.util.Arrays; | @@ -28,6 +28,14 @@ import java.util.Arrays; | ||
28 | "org.thingsboard.server.rules.lifecycle.sql.*Test"}) | 28 | "org.thingsboard.server.rules.lifecycle.sql.*Test"}) |
29 | public class RuleEngineSqlTestSuite { | 29 | public class RuleEngineSqlTestSuite { |
30 | 30 | ||
31 | + static { | ||
32 | + SecurityManager appsm = System.getSecurityManager(); | ||
33 | + System.out.println("SECURITY MANAGER = " + appsm); | ||
34 | + if (appsm != null) { | ||
35 | + System.out.println("SECURITY MANAGER CLASS = " + appsm.getClass()); | ||
36 | + } | ||
37 | + } | ||
38 | + | ||
31 | @ClassRule | 39 | @ClassRule |
32 | public static CustomSqlUnit sqlUnit = new CustomSqlUnit( | 40 | public static CustomSqlUnit sqlUnit = new CustomSqlUnit( |
33 | Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"), | 41 | Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"), |
@@ -29,6 +29,14 @@ import java.util.Arrays; | @@ -29,6 +29,14 @@ import java.util.Arrays; | ||
29 | @ClasspathSuite.ClassnameFilters({"org.thingsboard.server.system.sql.*SqlTest"}) | 29 | @ClasspathSuite.ClassnameFilters({"org.thingsboard.server.system.sql.*SqlTest"}) |
30 | public class SystemSqlTestSuite { | 30 | public class SystemSqlTestSuite { |
31 | 31 | ||
32 | + static { | ||
33 | + SecurityManager appsm = System.getSecurityManager(); | ||
34 | + System.out.println("SECURITY MANAGER = " + appsm); | ||
35 | + if (appsm != null) { | ||
36 | + System.out.println("SECURITY MANAGER CLASS = " + appsm.getClass()); | ||
37 | + } | ||
38 | + } | ||
39 | + | ||
32 | @ClassRule | 40 | @ClassRule |
33 | public static CustomSqlUnit sqlUnit = new CustomSqlUnit( | 41 | public static CustomSqlUnit sqlUnit = new CustomSqlUnit( |
34 | Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"), | 42 | Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"), |