User: ejort
Date: 02/02/22 08:44:35
Modified: src/main/test/performance/dynamic InvocationTEST.java
Log:
Default Domain, Querying, Various Other Fixes
Revision Changes Path
1.2 +5 -0 jmx/src/main/test/performance/dynamic/InvocationTEST.java
Index: InvocationTEST.java
===================================================================
RCS file: /cvsroot/jboss/jmx/src/main/test/performance/dynamic/InvocationTEST.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- InvocationTEST.java 23 Jan 2002 21:44:17 -0000 1.1
+++ InvocationTEST.java 22 Feb 2002 16:44:35 -0000 1.2
@@ -57,12 +57,14 @@
}
System.out.println("\nAverage: " + (avg/PerformanceSUITE.REPEAT_COUNT));
+ MBeanServerFactory.releaseMBeanServer(server);
}
catch (Throwable t)
{
t.printStackTrace();
fail("Unexpected error: " + t.toString());
}
+
}
public void testVoidInvocation()
@@ -100,6 +102,7 @@
}
System.out.println("\nAverage: " + (avg/PerformanceSUITE.REPEAT_COUNT));
+ MBeanServerFactory.releaseMBeanServer(server);
}
catch (Throwable t)
{
@@ -144,6 +147,7 @@
}
System.out.println("\nAverage: " + (avg/PerformanceSUITE.REPEAT_COUNT));
+ MBeanServerFactory.releaseMBeanServer(server);
assertTrue(mbean.getCount() == (PerformanceSUITE.REPEAT_COUNT +
1)*PerformanceSUITE.ITERATION_COUNT);
}
@@ -224,6 +228,7 @@
}
System.out.println("\nAverage: " + (avg/PerformanceSUITE.REPEAT_COUNT));
+ MBeanServerFactory.releaseMBeanServer(server);
}
catch (Throwable t)
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development