[ https://issues.apache.org/jira/browse/DERBY-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John H. Embretsen updated DERBY-3385: ------------------------------------- Attachment: d3385_jdbcMBeanTest_03.diff Attached patch file d3385_jdbcMBeanTest_03.diff, to replace d3385_jdbcMBeanTest_02.diff: M java/testing/org/apache/derbyTesting/functionTests/tests/management/MBeanTest.java M java/testing/org/apache/derbyTesting/functionTests/tests/management/JDBCMBeanTest.java M java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java M java/testing/org/apache/derbyTesting/junit/Utilities.java This patch modifies the JDBCMBeanTest so that the expected values for the MajorVersion and MinorVersion attributes are obtained from the embedded driver instead of the client driver. The difference from patch 02 is that the expected values are retrieved directly from the embedded driver (assuming this is available in the classpath) instead of going through DatabaseMetaData and for that reason jumping through various hoops in order to get a JDBC connection using the embedded driver. As with patch 02, this patch also revises some javadoc comments in NetworkServerTestSetup, and moves the generic utility methods for getting sysinfo output, from MBeanTest to the Utilities class in org.apache.derbyTesting.junit. > Tests for JMX Management and Monitoring > --------------------------------------- > > Key: DERBY-3385 > URL: https://issues.apache.org/jira/browse/DERBY-3385 > Project: Derby > Issue Type: Sub-task > Components: JMX, Test > Reporter: John H. Embretsen > Assignee: John H. Embretsen > Attachments: d3385_ant-junit-all.diff, d3385_jdbcMBeanTest_01.diff, > d3385_jdbcMBeanTest_02.diff, d3385_jdbcMBeanTest_03.diff, > d3385_versionMBeanTest_01.diff, d3385_versionMBeanTest_02.diff, TestJMXp9.java > > > DERBY-1387 implements a new feature set in Derby: Java Management eXtentions > (JMX), i.e. standards-based management and monitoring capabilities. > As these are completely new features providing additional interfaces to a > running Derby system, a set of functional regression tests should be added. > The new tests should verify that Derby's public JMX API works as intended, > and should be able to detect regressions in this area in the future. There is > a functional specification (jmxFuncspec.html) attached to DERBY-1387 which > may be used as reference. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.