This patch has been added to disable the SecurityAllowedTestCase

Forwarded: not-needed

altogether, as it fails to complete successfully on GCJ. The issue
seems to be with GCJ, so till the time that GCJ is fixed, we don't run
this test.

Gbp-Pq: Name 03_disable_securityallow_test.patch
This commit is contained in:
Kumar Appaiah 2022-11-17 20:37:51 +08:00 committed by zhouganqing
parent 8b44efb786
commit ca49197433
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class SecurityAllowedTestCase extends TestCase
mySecurityManager.addPermission(new AllPermission()); mySecurityManager.addPermission(new AllPermission());
System.setSecurityManager(mySecurityManager); System.setSecurityManager(mySecurityManager);
/*
try { try {
// Use reflection so that we can control exactly when the static // Use reflection so that we can control exactly when the static
// initialiser for the LogFactory class is executed. // initialiser for the LogFactory class is executed.
@ -136,5 +137,6 @@ public class SecurityAllowedTestCase extends TestCase
t.printStackTrace(pw); t.printStackTrace(pw);
fail("Unexpected exception:" + t.getMessage() + ":" + sw.toString()); fail("Unexpected exception:" + t.getMessage() + ":" + sw.toString());
} }
*/
} }
} }