MBean API Unit Tests README

# Running MBean API (AMX) JUnit Tests

contact: lloyd.chambers@sun.com
Last updated: 26 April 2007
NOTE: the hyperlinks in this document assume you are reading it from its location in the source tree eg glassfish/admin/mbeanapi-impl/tests/com/sun/enterprise/management.

JUNIT: You must check out glassfish/appserv-tests in order to make junit.jar available. The easiest way to do this is:

$ cd glassfish/bootstrap
$ maven checkout-quicklook

## Step 0: Start the server

Ensure that sources in admin/mbeanapi-impl and admin-core/mbeanapi are up-to-date and built. Then start the server.

## Step 1: The amxtest.properties file

You will need to change the following properties in admin/mbeanapi-impl/amxtest.properties to match your own host/port/user/password:

amxtest.connect.host=yourhost
amxtest.connect.port=8686
amxtest.connect.user=admin
amxtest.connect.password=admin-password
amxtest.connect.useTLS=true
If amxtest.connect.useTLS=true, then you also need these two properties, but the defaults should be fine:
amxtest.connect.truststore=./amx-test-truststore
amxtest.connect.truststorePassword=changeme

The java constants for all the amxtest.properties keys may be found in PropertyKeys.java. The only required properties are those necessary to connect to the server as shown above. Most of the options are self-explanatory. The tests will obviously fail if the useTLS value does not match the server's state.

Option | Discussion
amxtest.connect | If true, a connection is made, if false, no connection is made. If set to false, be sure to modify your test classes to remove any that require a connection to the server. You can set amxtest.testClasses=myamxtest.classes and modify your own copy of the file.
amxtest.connect.useTLS | Set amxtest.connect.useTLS=true if the server is using TLS.
amxtest.connect.truststore | Any file will do here and it need not exist in advance. Just make sure the name is valid for your platform. The file will be created in the course of testing if it does not already exist.
amxtest.threaded | If true, then within any single test class the tests are run using junit.extensions.ActiveTestSuite; otherwise they are run using junit.framework.TestSuite. Running the tests threaded can be confusing if they are failing (due to overlapping output); otherwise it speeds things up significantly.
amxtest.classes | By default, all tests will be run unless you set the property "amxtest.classes" (shown commented-out above). This property is the name of a file containing a lister of test classes. If you wish to run specific tests, you can copy the output from a run into a file, then comment-out any tests you don't want to run. See the default test list.
amxtest.verbose | For the most part, this displays the time it takes to run various tests. Useful to see how things are performing remotely versus locally, etc. If you are just looking for correctness, leave it set to "false".
amxtest.iterations | Specifies the number of times to run the tests. All the tests are run, then all the tests are repeated, etc. Always run 2 iterations if there are any repeatability issues (sporadic problems in server code, not necessarily AMX code, have been seen in the past).
amxtest.deploy.files | Comma-separated list of archives to deploy during DeploymentMgrTest
amxtest.deploy.numThreads | The number of threads to run for DeploymentMgrTest.testDeployHeavilyThreaded.
amxtest.deploy.deployDummies | Controls whether certain tests requiring the deployment of dummy (garbage) files are run.
amxtest.UploadDownloadMgrTest.numThreads | The number of threads used in UploadDownloadMgrTest. testHeavilyThreaded()
amxtest.UploadDownloadMgrTest.bigFileKB | The size, in KB, of UploadDownloadMgrTest. testDownloadBigFile()

You can cause the tests to be run as many times as you like by setting amxtest.loopCount. It is generally a good practise to use a count of 2, just in case there are any repeatability issues.

## Step 2: Run the tests

Here is how to run the tests; note the directory:

G:\glassfish\admin\mbeanapi-impl>maven run-tests

Be sure to use 'maven' and not 'ant'. If you use ant, the classpath won't contain required classes for certain com.sun.appserv unit tests. Perhaps a build wizard can figure this out and fix it.

See a sample run. The tests take just a few minutes to run, or as much as 30 minutes over VPN to a remote, slow server! Probably you'll want to run them locally. The tests do test all AMX MBeans, so if you have multiple running servers and/or clusters, and are testing against the Domain Admin Server (DAS), then you will be testing all AMX MBeans for all running instances.

## Appendex A: Known Issues

Test/issue | Comments
j2EEType=X-CallFlowMonitor | 18 July 2005 [java] Warning: MBean "amx:j2eeType=X-CallFlowMonitor, name=server,X-ServerRootMonitor=server" did not supply the 1 attributes {RequestInformation} Note that other operations are also unimplemented.
j2eeType=X-UploadDownloadMgr | 18 July 2005 sporadic failure, not a new bug, I've seen it in the past 1) testHeavilyThreaded( com.sun.enterprise.management.support.UploadDownloadMgrTest java.lang.AssertionError: $Proxy90.downloadBytes(Unknown Source) com.sun.enterprise.management.support.UploadDownloadMgrTest. testDownloadFile(UploadDownloadMgrTest.java:145) com.sun.enterprise.management.support.UploadDownloadMgrTest$ UploadDownloadTestThread.run(UploadDownloadMgrTest.java:227) at com.sun.enterprise.management.support.UploadDownloadMgrTest. testHeavilyThreaded(UploadDownloadMgrTest.java:315)
j2eeType=X-Logging | The AMX Logging MBean now lives in all server instances. However, its Container, X-ServerRootMonitor and DomainRoot do not yet exist in non-DAS instances. Thisordinarily causes some of the generic tests to fail (ProxyTest, AMXTest, ContainerTest). So the generic testing of remote Logging MBeans has been temporarily disabled via: AMXTestBase.isRemoteIncomplete(). You may safely ignore all lines that say "remoteIncomplete: ..." so long as the ObjectName has j2eeType=X-Logging. The Logging MBeans are all being tested specifically, just not generically.
com.sun.enterprise.management. j2ee.J2EETest | 24 June 2005 Very recent changes have broken something in the underlying com.sun.appserv MBeans. This is a regression. WARNING: MBean "amx:j2eeType=Servlet,WebModule=//server/__JWSappclients, J2EEServer=server,name=default,J2EEApplication=__JWSapp clients" does not have its statisticProvider set to true, monitoring peer = null WARNING: MBean "amx:j2eeType=WebModule,J2EEServer=server, name=//server/__JWSappclients,J2EEApplication=__JWSappclients" does no t have its statisticProvider set to true, monitoring peer = null WARNING: MBean "amx:j2eeType=Servlet,WebModule=//server/__JWSappclients, J2EEServer=server,name=jsp,J2EEApplication=__JWSappclie nts" does not have its statisticProvider set to true, monitoring peer = null WARNING: MBean "amx:j2eeType=Servlet,WebModule=//server/__JWSappclients, J2EEServer=server,name=JWSSystemServlet,J2EEApplication =__JWSappclients" does not have its statisticProvider set to true, monitoring peer = null FAILURE: Failures in the following MBeans: amx:j2eeType=Servlet, WebModule=//server/__JWSappclients, J2EEServer=server,name=JWSSy stemServlet,J2EEApplication=__JWSappclients amx:j2eeType=Servlet,WebModule=//server/__JWSappclients, J2EEServer=server,name=jsp,J2EEApplication=__JWSappclients amx:j2eeType=Servlet,WebModule=//server/__JWSappclients, J2EEServer=server,name=default,J2EEApplication=__JWSappclients amx:j2eeType=WebModule,J2EEServer=server, name=//server/__JWSappclients,J2EEApplication=__JWSappclients
ConnectorResourceConfigTest | Unit tests fail the 2nd time due to a bug in com.sun.appserv mbean code that auto-creates, AND fails to delete, ResourceRefs for the ConnectorResource. testCreateRemove( com.sun.enterprise.management.config.ConnectorResourceConfigTest) java.lang.reflect.UndeclaredThrowableExcep tion Caused by: java.lang.RuntimeException: Can't remove dangling ResourceRef: amx:j2eeType=X-ResourceRefConfig,X-StandaloneServerCo nfig=server,name=jndi/ConnectorResourceConfigTest from amx:j2eeType=X-StandaloneServerConfig,name=server
CustomMBeanConfigTest | This is a bug in the custom MBean implementation, not AMX: WARNING: after removing custom MBeans, they are still registered: user:name=custom4,type=CustomMBeanConfigTest user:name=custom6,type=CustomMBeanConfigTest user:name=custom2,type=CustomMBeanConfigTest user:name=custom3,type=CustomMBeanConfigTest user:name=custom7,type=CustomMBeanConfigTest user:name=custom9,type=CustomMBeanConfigTest user:name=custom8,type=CustomMBeanConfigTest user:name=custom0,type=CustomMBeanConfigTest user:name=custom5,type=CustomMBeanConfigTest user:name=custom1,type=CustomMBeanConfigTest
TestDanglingRefsTest | Issues warnings about dangling references (such as for X-ConnectorResourceConfig). Runs before the config unit tests, and also runs at the very end of the unit tests (invoked by RunMeLastTest).

## Appendix B: Sample Output

This output was from a test run on 06 June 2005:

G:\glassfish\admin\mbeanapi-impl>maven run-tests
Buildfile: build.xml
init:
compile:
compile-tests:
[mkdir] Created dir: G:\glassfish\admin\mbeanapi-impl\build\tests
[javac] Compiling 80 source files to G:\glassfish\admin\mbeanapi-impl\build\tests
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
run-tests:
[java] Reading properties from: "amxtest.properties"
[java] Properties:
[java] amxtest.threaded=false
[java] amxtest.connect.host=localhost
[java] amxtest.connect.truststorePassword=changeme
[java] amxtest.deploy.files=./tests/bookstore.war
[java] amxtest.deploy.numThreads=10
[java] amxtest.connect.port=8686
[java] amxtest.loopCount=1
[java] amxtest.UploadDownloadMgrTest.bigFileKB=8192
[java] amxtest.UploadDownloadMgrTest.numThreads=10
[java] amxtest.connect.user=admin
[java] amxtest.connect.useTLS=true
[java] amxtest.testClasses=amxtest.classes
[java] amxtest.connect.truststore=./amx-test-truststore
[java] amxtest.deploy.deployDummies=false
[java] amxtest.connect=true
[java] amxtest.verbose=false
[java] amxtest.connect.password=admin123
[java] Connecting: host=localhost, port=8686, user=admin, password=admin123, tls=true...
[java] Connected: host=localhost, port=8686, user=admin, password=admin123, tls=true
[java] HandshakeCompletedEvent: javax.net.ssl.HandshakeCompletedEvent[source=50d89c[SSL_RSA_WITH_RC4_128_MD5: Socket[addr=129.150.30.112/129.150.
30.112,port=2278,localport=2286]]]
[java] Reading test classes from: "amxtest.classes"
[java] --- 56 TEST CLASSES ---
[java] com.sun.enterprise.management.util.misc.SetUtilTest
[java] com.sun.enterprise.management.ext.logging.LogQueryEntryImplTest
[java] com.sun.enterprise.management.ext.logging.LogQueryResultImplTest
[java] com.sun.enterprise.management.support.ParamNameMapperTest
[java] com.sun.enterprise.management.util.misc.CircularListTest
[java] com.sun.enterprise.management.SerializableTest
[java] com.sun.enterprise.management.ProxyTest
[java] com.sun.enterprise.management.ProxyFactoryTest
[java] com.sun.enterprise.management.AMXTest
[java] com.sun.enterprise.management.ContainerTest
[java] com.sun.enterprise.management.GenericTest
[java] com.sun.enterprise.management.PropertiesTest
[java] com.sun.enterprise.management.ext.logging.LogMBeanTest
[java] com.sun.enterprise.management.ext.logging.LoggingTest
[java] com.sun.enterprise.management.ext.logging.LoggingHelperTest
[java] com.sun.enterprise.management.ext.logging.StatefulLoggingHelperTest
[java] com.sun.enterprise.management.TestTemplateTest
[java] com.sun.enterprise.management.DomainRootTest
[java] com.sun.enterprise.management.support.UploadDownloadMgrTest
[java] com.sun.enterprise.management.BulkAccessTest
[java] com.sun.enterprise.management.QueryMgrTest
[java] com.sun.enterprise.management.NotificationEmitterServiceTest
[java] com.sun.enterprise.management.NotificationServiceMgrTest
[java] com.sun.enterprise.management.NotificationServiceTest
[java] com.sun.enterprise.management.MiscTest
[java] com.sun.enterprise.management.monitor.StatisticTest
[java] com.sun.enterprise.management.monitor.MonitorTest
[java] com.sun.enterprise.management.monitor.JMXMonitorMgrTest
[java] com.sun.enterprise.management.j2ee.J2EETest
[java] com.sun.enterprise.management.deploy.DeploymentProgressTest
[java] com.sun.enterprise.management.deploy.DeploymentSourceTest
[java] com.sun.enterprise.management.deploy.DeploymentStatusTest
[java] com.sun.enterprise.management.deploy.DeploymentMgrTest
[java] com.sun.enterprise.management.config.DomainConfigTest
[java] com.sun.enterprise.management.config.ReferencesTest
[java] com.sun.enterprise.management.config.HTTPServiceConfigTest
[java] com.sun.enterprise.management.config.HTTPListenerConfigTest
[java] com.sun.enterprise.management.config.ClusterConfigTest
[java] com.sun.enterprise.management.config.SSLConfigTest
[java] com.sun.enterprise.management.config.JMXConnectorConfigMgrTest
[java] com.sun.enterprise.management.config.IIOPListenerConfigMgrTest
[java] com.sun.enterprise.management.config.HTTPListenerConfigMgrTest
[java] com.sun.enterprise.management.config.AuditModuleConfigMgrTest
[java] com.sun.enterprise.management.config.AuthRealmConfigMgrTest
[java] com.sun.enterprise.management.config.JavaConfigTest
[java] com.sun.enterprise.management.config.VirtualServerConfigMgrTest
[java] com.sun.enterprise.management.config.JACCProviderConfigMgrTest
[java] com.sun.enterprise.management.config.AdminObjectResourceConfigMgrTest
[java] com.sun.enterprise.management.config.JDBCResourceConfigMgrTest
[java] com.sun.enterprise.management.config.MailResourceConfigMgrTest
[java] com.sun.enterprise.management.config.ConnectorConnectionPoolConfigMgrTest
[java] com.sun.enterprise.management.config.JDBCConnectionPoolConfigMgrTest
[java] com.sun.enterprise.management.config.PersistenceManagerFactoryResourceConfigMgrTest
[java] com.sun.enterprise.management.config.JNDIResourceConfigMgrTest
[java] com.sun.enterprise.management.config.ThreadPoolConfigMgrTest
[java] com.sun.enterprise.management.PerformanceTest
[java] --- BEGIN TESTS ---
[java] *** testing com.sun.enterprise.management.util.misc.SetUtilTest ***
[java] ...
[java] Time: 0
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.ext.logging.LogQueryEntryImplTest ***
[java] .....
[java] Time: 0.187
[java] OK (5 tests)
[java] *** testing com.sun.enterprise.management.ext.logging.LogQueryResultImplTest ***
[java] ....
[java] Time: 0.016
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.support.ParamNameMapperTest ***
[java] .............
[java] Time: 0
[java] OK (13 tests)
[java] *** testing com.sun.enterprise.management.util.misc.CircularListTest ***
[java] ..........
[java] Time: 0.015
[java] OK (10 tests)
[java] *** testing com.sun.enterprise.management.SerializableTest ***
[java] ...
[java] Time: 0.016
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.ProxyTest ***
[java] .....failure: getRequestInformation = java.lang.reflect.InvocationTargetException
[java] MBean "amx:j2eeType=X-CallFlowMonitor,name=server,X-ServerRootMonitor=server" failed for:
[java] testProxyGetters: failure from: getRequestInformation: javax.management.AttributeNotFoundException
[java] failure: getLBWeight = java.lang.reflect.InvocationTargetException
[java] MBean "amx:j2eeType=X-StandaloneServerConfig,name=server" failed for:
[java] testProxyGetters: failure from: getLBWeight: javax.management.AttributeNotFoundException
[java] ....
[java] Time: 9.812
[java] OK (9 tests)
[java] *** testing com.sun.enterprise.management.ProxyFactoryTest ***
[java] ..
[java] Time: 0.063
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.AMXTest ***
[java] ..
[java] amx:j2eeType=X-StandaloneServerConfig,name=server contains the following int/long Attributes which perhaps ought to be String due to the t
emplatizing of config: LBWeight
[java] ...............
[java] Time: 14.844
[java] OK (17 tests)
[java] *** testing com.sun.enterprise.management.ContainerTest ***
[java] ....
[java] Time: 5.078
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.GenericTest ***
[java] .Validating:
[java] - MBeanInfo
[java] - Attributes
[java] - Operations (getters)
[java] Warning: MBean "amx:j2eeType=X-CallFlowMonitor,name=server,X-ServerRootMonitor=server" did not supply the 1 attributes {RequestInformation
}
[java] Warning: MBean "amx:j2eeType=X-StandaloneServerConfig,name=server" did not supply the 1 attributes {LBWeight}
[java] Total mbeans failing: 0
[java] .
[java] Time: 10.297
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.PropertiesTest ***
[java] ....
[java] Time: 0.765
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.ext.logging.LogMBeanTest ***
[java] .....
[java] Time: 2.531
[java] OK (5 tests)
[java] *** testing com.sun.enterprise.management.ext.logging.LoggingTest ***
[java] .........
[java] Time: 3.266
[java] OK (9 tests)
[java] *** testing com.sun.enterprise.management.ext.logging.LoggingHelperTest ***
[java] .........
[java] Time: 0.391
[java] OK (9 tests)
[java] *** testing com.sun.enterprise.management.ext.logging.StatefulLoggingHelperTest ***
[java] ...
[java] Time: 0.015
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.TestTemplateTest ***
[java] .
[java] Time: 0
[java] OK (1 test)
[java] *** testing com.sun.enterprise.management.DomainRootTest ***
[java] .......
[java] Time: 0
[java] OK (7 tests)
[java] *** testing com.sun.enterprise.management.support.UploadDownloadMgrTest ***
[java] ............
[java] Time: 6.703
[java] OK (12 tests)
[java] *** testing com.sun.enterprise.management.BulkAccessTest ***
[java] ........
[java] Time: 3.047
[java] OK (8 tests)
[java] *** testing com.sun.enterprise.management.QueryMgrTest ***
[java] ..............
[java] Time: 4.296
[java] OK (14 tests)
[java] *** testing com.sun.enterprise.management.NotificationEmitterServiceTest ***
[java] ..E.
[java] Time: 0.016
[java] There was 1 error:
[java] 1) testEmit(com.sun.enterprise.management.NotificationEmitterServiceTest)java.lang.AssertionError
[java] at com.sun.enterprise.management.NotificationEmitterServiceTest.testEmit(NotificationEmitterServiceTest.java:84)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at com.sun.enterprise.management.TestRunner.runSuite(TestRunner.java:70)
[java] at com.sun.enterprise.management.TestRunner.testClass(TestRunner.java:79)
[java] at com.sun.enterprise.management.TestRunner.runTests(TestRunner.java:98)
[java] at com.sun.enterprise.management.TestRunner.runAll(TestRunner.java:300)
[java] at com.sun.enterprise.management.TestMain.<init>(TestMain.java:508)
[java] at com.sun.enterprise.management.TestMain.main(TestMain.java:113)
[java] FAILURES!!!
[java] Tests run: 3, Failures: 0, Errors: 1
[java] *** testing com.sun.enterprise.management.NotificationServiceMgrTest ***
[java] ...
[java] Time: 0.031
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.NotificationServiceTest ***
[java] ....
[java] Time: 5.125
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.MiscTest ***
[java] ..
[java] Time: 0.047
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.monitor.StatisticTest ***
[java] ...
[java] Time: 0.016
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.monitor.MonitorTest ***
[java] ..
[java] Time: 8.875
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.monitor.JMXMonitorMgrTest ***
[java] ...
[java] Time: 0.047
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.j2ee.J2EETest ***
[java] .....
[java] Time: 2.422
[java] OK (5 tests)
[java] *** testing com.sun.enterprise.management.deploy.DeploymentProgressTest ***
[java] ...
[java] Time: 0
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.deploy.DeploymentSourceTest ***
[java] ..
[java] Time: 0
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.deploy.DeploymentStatusTest ***
[java] ......
[java] Time: 0
[java] OK (6 tests)
[java] *** testing com.sun.enterprise.management.deploy.DeploymentMgrTest ***
[java] ....
[java] Time: 4.407
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.config.DomainConfigTest ***
[java] ......
[java] Time: 0.047
[java] OK (6 tests)
[java] *** testing com.sun.enterprise.management.config.ReferencesTest ***
[java] .
[java] WARNING: ReferencesTest: server 'testServer' does not exist, SKIPPING TEST
[java] .
[java] Time: 0
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.config.HTTPServiceConfigTest ***
[java] .......
[java] Time: 0
[java] OK (7 tests)
[java] *** testing com.sun.enterprise.management.config.HTTPListenerConfigTest ***
[java] ..
[java] Time: 0.015
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.config.ClusterConfigTest ***
[java] ..
[java] Time: 0
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.config.SSLConfigTest ***
[java] ..
[java] Time: 0.032
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.config.JMXConnectorConfigMgrTest ***
[java] ....
[java] Time: 0.375
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.config.IIOPListenerConfigMgrTest ***
[java] ....
[java] Time: 0.312
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.config.HTTPListenerConfigMgrTest ***
[java] ....
[java] Time: 0.766
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.config.AuditModuleConfigMgrTest ***
[java] ...
[java] Time: 0.25
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.AuthRealmConfigMgrTest ***
[java] ...
[java] Time: 0.218
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.JavaConfigTest ***
[java] ..
[java] Time: 0.079
[java] OK (2 tests)
[java] *** testing com.sun.enterprise.management.config.VirtualServerConfigMgrTest ***
[java] ....
[java] Time: 0.859
[java] OK (4 tests)
[java] *** testing com.sun.enterprise.management.config.JACCProviderConfigMgrTest ***
[java] ...
[java] Time: 0.094
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.AdminObjectResourceConfigMgrTest ***
[java] ...
[java] Time: 0.125
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.JDBCResourceConfigMgrTest ***
[java] ...
[java] Time: 0.234
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.MailResourceConfigMgrTest ***
[java] ...
[java] Time: 0.094
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.ConnectorConnectionPoolConfigMgrTest ***
[java] ...
[java] Time: 0.109
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.JDBCConnectionPoolConfigMgrTest ***
[java] ...
[java] Time: 0.078
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.PersistenceManagerFactoryResourceConfigMgrTest ***
[java] ...
[java] Time: 0.094
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.JNDIResourceConfigMgrTest ***
[java] ...
[java] Time: 0.094
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.config.ThreadPoolConfigMgrTest ***
[java] ...
[java] Time: 0.125
[java] OK (3 tests)
[java] *** testing com.sun.enterprise.management.PerformanceTest ***
[java] ...
[java] Time: 1.781
[java] OK (3 tests)
[java] Time to run tests: 89 seconds
BUILD SUCCESSFUL
Total time: 1 minute 37 seconds