Skip to content

Commit

Permalink
Temporarily disable failed connection test
Browse files Browse the repository at this point in the history
  • Loading branch information
maximevw committed Jan 12, 2023
1 parent 7acbe30 commit e67060a
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import com.ing.data.cassandra.jdbc.utils.FakeSslEngineFactory;
import org.apache.commons.lang3.StringUtils;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -339,14 +340,9 @@ void givenSslEngineFactory_whenConfigureSsl_addGivenSslEngineFactoryToSessionBui
}

@Test
@Disabled
// FIXME: this test now works on local but not on the build pipeline, investigation needed
void givenSessionToConnect() throws SQLException {
// Update cluster name according to the configured name.
try (final Statement statement = sqlConnection.createStatement()) {
statement.execute("UPDATE system.local SET cluster_name = 'Test Cluster' WHERE key = 'local'");
} catch (final SQLException e) {
log.error("Cannot update cluster_name in system.local table.", e);
}

CqlSession session = CqlSession.builder()
.addContactPoint(new InetSocketAddress(ConnectionDetails.getHost(), ConnectionDetails.getPort()))
.withLocalDatacenter("datacenter1")
Expand Down

0 comments on commit e67060a

Please sign in to comment.