提交 78b60947 编写于 作者: C Chris Beams

Rename JMX tests to avoid jmxremote_optional error

Even after applying @Ignore to these tests at the class level, they
still run (and fail) under ant when the jmxremote_optional jar is not
present. See the issues mentioned below for information on how these
tests will be re-enabled.

Issue: SPR-8089, SPR-8093, SPR-8458
上级 4aeaaa08
......@@ -38,7 +38,7 @@ import org.junit.Ignore;
// fact get ignored. So we leave @Ignore here so that developers can
// easily search for ignored tests.
@Ignore("Requires jmxremote_optional.jar; see comments in AbstractMBeanServerTests for details.")
public class RemoteMBeanClientInterceptorTests extends MBeanClientInterceptorTests {
public class RemoteMBeanClientInterceptorTestsIgnore extends MBeanClientInterceptorTests {
private static final String SERVICE_URL = "service:jmx:jmxmp://localhost:9876";
......
......@@ -41,7 +41,7 @@ import org.springframework.jmx.AbstractMBeanServerTests;
// fact get ignored. So we leave @Ignore here so that developers can
// easily search for ignored tests.
@Ignore("Requires jmxremote_optional.jar; see comments in AbstractMBeanServerTests for details.")
public class ConnectorServerFactoryBeanTests extends AbstractMBeanServerTests {
public class ConnectorServerFactoryBeanTestsIgnore extends AbstractMBeanServerTests {
private static final String OBJECT_NAME = "spring:type=connector,name=test";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册