| Summary: | Add check for unregistered mBeans in Virgo's test runners | ||
|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Hristo Iliev <hsiliev> |
| Component: | runtime | Assignee: | Hristo Iliev <hsiliev> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | glyn.normington |
| Version: | 3.0.0.M03 | Flags: | glyn.normington:
review+
|
| Target Milestone: | 3.0.0.M05 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 343131, 343364 | ||
| Bug Blocks: | |||
|
Description
Hristo Iliev
This is an improvement rather than a bug. Added check with commit 02a77b4f8dcfc2d499e18d310e53ce85238691fa Review complete. The changes look ok. I note that diagnostics will appear on the next test, if any, rather than at the end of a test which leaves mbeans around. It would be better to fail the test which left the mbeans around if possible, but that can be considered an improvement to what is there now. (In reply to comment #3) > Review complete. The changes look ok. I note that diagnostics will appear on > the next test, if any, rather than at the end of a test which leaves mbeans > around. It would be better to fail the test which left the mbeans around if > possible, but that can be considered an improvement to what is there now. My mistake - apologies. The diagnostics already apply to the current test. Now the mBeans left after test execution were simply printed. I'm going to change the runner so it can fail the test if there are unregistered mBeans. Test runner fails tests that did not unregister mBeans with commit b4afa5153b601e2f04db02449c0f46a5ebeac5a6 |