Skip to content

Commit 204be3a

Browse files
authored
Disable CCMBridgeTest#should_make_JMX_connection() for OSS versions >= 6.2.0 (#398)
JMX was dropped since that version, so the test is bound to fail. Fixes #386.
1 parent 7eb594d commit 204be3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

driver-core/src/test/java/com/datastax/driver/core/CCMBridgeTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import static org.assertj.core.api.Assertions.assertThat;
1919

20+
import com.datastax.driver.core.utils.ScyllaVersion;
2021
import java.net.InetSocketAddress;
2122
import javax.management.remote.JMXConnector;
2223
import javax.management.remote.JMXConnectorFactory;
@@ -29,6 +30,9 @@
2930
public class CCMBridgeTest extends CCMTestsSupport {
3031

3132
@Test(groups = "short")
33+
@ScyllaVersion(
34+
maxOSS = "6.2.0",
35+
description = "JMX was dropped in scylladb/3cd2a6173668c5a13b6e674f912ff597f76422f5")
3236
public void should_make_JMX_connection() throws Exception {
3337
InetSocketAddress addr1 = ccm().jmxAddressOfNode(1);
3438
InetSocketAddress addr2 = ccm().jmxAddressOfNode(2);

0 commit comments

Comments
 (0)