Skip to content

Commit

Permalink
Disable CCMBridgeTest#should_make_JMX_connection() for OSS versions…
Browse files Browse the repository at this point in the history
… >= 6.2.0

JMX was dropped since that version, so the test is bound to fail.
Fixes #386.
  • Loading branch information
Bouncheck committed Dec 5, 2024
1 parent 7eb594d commit abfa186
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

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

import com.datastax.driver.core.utils.ScyllaVersion;
import java.net.InetSocketAddress;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
Expand All @@ -29,6 +30,9 @@
public class CCMBridgeTest extends CCMTestsSupport {

@Test(groups = "short")
@ScyllaVersion(
maxOSS = "6.2.0",
description = "JMX was dropped in scylladb/3cd2a6173668c5a13b6e674f912ff597f76422f5")
public void should_make_JMX_connection() throws Exception {
InetSocketAddress addr1 = ccm().jmxAddressOfNode(1);
InetSocketAddress addr2 = ccm().jmxAddressOfNode(2);
Expand Down

0 comments on commit abfa186

Please sign in to comment.