Skip to content

Commit

Permalink
Remove SniEndpoint testing
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Feb 15, 2024
1 parent ccdb872 commit bc6ab22
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@
import static org.junit.jupiter.api.Named.named;

import com.datastax.oss.driver.api.core.CqlSession;
import com.datastax.oss.driver.api.core.CqlSessionBuilder;
import com.datastax.oss.driver.internal.core.metadata.SniEndPoint;
import io.opentelemetry.api.trace.SpanKind;
import io.opentelemetry.cassandra.v4.common.AbstractCassandraTest;
import io.opentelemetry.instrumentation.api.semconv.network.internal.NetworkAttributes;
import java.net.InetSocketAddress;
import java.util.stream.Stream;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
Expand Down Expand Up @@ -142,11 +139,4 @@ private static Stream<Arguments> provideReactiveParameters() {
"SELECT",
"users"))));
}

@Override
protected CqlSessionBuilder addContactPoint(CqlSessionBuilder sessionBuilder) {
InetSocketAddress address = new InetSocketAddress("localhost", cassandraPort);
sessionBuilder.addContactEndPoint(new SniEndPoint(address, "dummy"));
return sessionBuilder;
}
}

0 comments on commit bc6ab22

Please sign in to comment.