Showing
2 changed files
with
16 additions
and
0 deletions
... | ... | @@ -28,6 +28,14 @@ import java.util.Arrays; |
28 | 28 | "org.thingsboard.server.rules.lifecycle.sql.*Test"}) |
29 | 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 | 39 | @ClassRule |
32 | 40 | public static CustomSqlUnit sqlUnit = new CustomSqlUnit( |
33 | 41 | Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"), | ... | ... |
... | ... | @@ -29,6 +29,14 @@ import java.util.Arrays; |
29 | 29 | @ClasspathSuite.ClassnameFilters({"org.thingsboard.server.system.sql.*SqlTest"}) |
30 | 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 | 40 | @ClassRule |
33 | 41 | public static CustomSqlUnit sqlUnit = new CustomSqlUnit( |
34 | 42 | Arrays.asList("sql/schema-ts.sql", "sql/schema-entities.sql", "sql/system-data.sql"), | ... | ... |