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