Quantcast

svn commit: r1356831 - /camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

svn commit: r1356831 - /camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java

bvahdat
Author: bvahdat
Date: Tue Jul  3 16:56:44 2012
New Revision: 1356831

URL: http://svn.apache.org/viewvc?rev=1356831&view=rev
Log:
Removed System.out.println() which was added for tracking the failed test on CI-Server (Camel.trunk.fulltest.java7) as disabling JMX explicitly did resolve the issue (through the usage of the setting QuickfixjEngine.SETTING_USE_JMX).

Modified:
    camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java

Modified: camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java?rev=1356831&r1=1356830&r2=1356831&view=diff
==============================================================================
--- camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java (original)
+++ camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/QuickfixjEngineTest.java Tue Jul  3 16:56:44 2012
@@ -590,15 +590,6 @@ public class QuickfixjEngineTest {
         assertThat(quickfixjEngine.getMessageFactory(), instanceOf(DefaultMessageFactory.class));
         MBeanServer mbeanServer = ManagementFactory.getPlatformMBeanServer();
         Set<ObjectName> names = mbeanServer.queryNames(new ObjectName("org.quickfixj:*"), null);
-
-        // Try to find the root cause of the failed tests under jdk7 as from time to time the returned Set is not empty!
-        if (!names.isEmpty()) {
-            System.out.println("The JMX objects found for the name 'org.quickfixj:*':");
-            for (ObjectName name : names) {
-                System.out.println("ObjectName => '" + name + "'");
-            }
-        }
-
         assertTrue("QFJ mbean should not have been registered", names.isEmpty());
     }
 


Loading...