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

master
Sam Brannen 14 years ago
parent daa074734f
commit 309fa92199
  1. 8
      org.springframework.context/src/test/java/org/springframework/jmx/access/MBeanClientInterceptorTests.java

@ -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;

Loading…
Cancel
Save