[SPR-8089] re-ignoring JMX tests that require the presence of jmxremote_optional.jar.

This commit is contained in:
Sam Brannen 2011-03-28 18:26:30 +00:00
parent daa074734f
commit 309fa92199
1 changed files with 7 additions and 1 deletions

View File

@ -29,6 +29,7 @@ import javax.management.remote.JMXConnectorServer;
import javax.management.remote.JMXConnectorServerFactory;
import javax.management.remote.JMXServiceURL;
import org.junit.Ignore;
import org.springframework.jmx.AbstractMBeanServerTests;
import org.springframework.jmx.IJmxTestBean;
import org.springframework.jmx.JmxException;
@ -185,7 +186,12 @@ public class MBeanClientInterceptorTests extends AbstractMBeanServerTests {
}
}
public void testLazyConnectionToRemote() throws Exception {
// @Ignore has no effect for JUnit 3.8 tests; however, we leave it
// here so that developers can easily search for ignored tests.
//
// Once fixed, renamed to test* instead of ignore*.
@Ignore("Requires jmxremote_optional.jar; see comments in AbstractMBeanServerTests for details.")
public void ignoreTestLazyConnectionToRemote() throws Exception {
if (!runTests)
return;