You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2022/12/23 00:54:13 UTC

svn commit: r1906177 - in /db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting: functionTests/tests/management/CacheManagerMBeanTest.java junit/TestConfiguration.java

Author: rhillegas
Date: Fri Dec 23 00:54:13 2022
New Revision: 1906177

URL: http://svn.apache.org/viewvc?rev=1906177&view=rev
Log:
DERBY-7149: Back out debug code checked in by revision 1906176.

Modified:
    db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java
    db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/junit/TestConfiguration.java

Modified: db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java?rev=1906177&r1=1906176&r2=1906177&view=diff
==============================================================================
--- db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java (original)
+++ db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java Fri Dec 23 00:54:13 2022
@@ -99,6 +99,8 @@ public class CacheManagerMBeanTest exten
      * a database is started, and stop when the database is shut down.
      */
     public void testAllMBeansStartedAndStopped() throws Exception {
+        System.out.println("com.sun.management.jmxremote.serial.filter.pattern = " + System.getProperty("com.sun.management.jmxremote.serial.filter.pattern"));
+        System.out.flush();
         // This pattern matches all CacheManager management beans when used
         // in a query.
         ObjectName pattern = createObjectName(null, null);

Modified: db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/junit/TestConfiguration.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/junit/TestConfiguration.java?rev=1906177&r1=1906176&r2=1906177&view=diff
==============================================================================
--- db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/junit/TestConfiguration.java (original)
+++ db/derby/code/trunk/java/org.apache.derby.tests/org/apache/derbyTesting/junit/TestConfiguration.java Fri Dec 23 00:54:13 2022
@@ -560,26 +560,6 @@ public final class TestConfiguration {
     /**
      * Return a decorator for the passed in tests that sets the
      * configuration for the client to be Derby's JDBC client
-     * and starts the network server at setUp with the indicated system properties.
-     * <BR>
-     * The database configuration (name etc.) is based upon
-     * the previous configuration.
-     * <BR>
-     * The previous TestConfiguration is restored at tearDown and
-     * the network server is shutdown.
-     * @param suite the suite to decorate
-     * @param systemProperties The system properties to use
-     */
-    public static Test clientServerDecorator(Test suite, String[] systemProperties)
-    {
-        Test test = new NetworkServerTestSetup(suite, systemProperties, false);
-            
-        return defaultServerDecorator(test);
-    }
-  
-    /**
-     * Return a decorator for the passed in tests that sets the
-     * configuration for the client to be Derby's JDBC client
      * and to start the network server at setUp.
      * <BR>
      * The database configuration (name etc.) is based upon