db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lily...@apache.org
Subject svn commit: r1058802 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java
Date Thu, 13 Jan 2011 23:52:39 GMT
Author: lilywei
Date: Thu Jan 13 23:52:39 2011
New Revision: 1058802

URL: http://svn.apache.org/viewvc?rev=1058802&view=rev
Log:
DERBY-4856 Add comment to AuthenticationTest and wrap extendedDiagSeverityLevel property in
SystemPropertyTestSetup instead of BaseSuite(). 

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java?rev=1058802&r1=1058801&r2=1058802&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java
Thu Jan 13 23:52:39 2011
@@ -89,8 +89,6 @@ public class AuthenticationTest extends 
     }
     
     public static Test baseSuite(String name) {
-        setSystemProperty("derby.stream.error.extendedDiagSeverityLevel","50000");
-        
         TestSuite suite = new TestSuite("AuthenticationTest");
         
         Test test = new AuthenticationTest(
@@ -174,6 +172,8 @@ public class AuthenticationTest extends 
         Properties sysprops = new Properties();
         sysprops.put("derby.user.system", "admin");
         sysprops.put("derby.user.mickey", "mouse");
+        //Derby-4856,set the property to avoid thread dump and diagnostic info
+        sysprops.put("derby.stream.error.extendedDiagSeverityLevel","50000");
         test = DatabasePropertyTestSetup.builtinAuthentication(test,
             USERS, PASSWORD_SUFFIX);
         test = new DatabasePropertyTestSetup (test, props, true);



Mime
View raw message