You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2008/02/26 19:36:51 UTC

[jira] Commented: (DERBY-3385) Tests for JMX Management and Monitoring

    [ https://issues.apache.org/jira/browse/DERBY-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572594#action_12572594 ] 

Daniel John Debrunner commented on DERBY-3385:
----------------------------------------------

I'll work on committing this. I think an improvement would be to separate out the generic jmx code from VersionMbeanTest into an abstract JMXTest class that VersionMbean would extend, then allowing other tests for other MBeans to be written easily.

One thought is to ensure that the fixtures are flexible enough to run with different mechanisms to get the MBean, e.g. local jmx, remote jmx, accessing the platform MBean server from the same vm etc. I think what you have provided will allow this.

Thanks for providing the initial setup, makes writing tests for others easier.




> 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_versionMBeanTest_01.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.