@Override
    protected void closeConnectionQuietly(Session session) {
        try {
            session.getCluster().close();
        } catch (Exception e) {
            log.error("Could not close cassandra connection", e);
        }
    }
Cassandra database delegate

@deprecated use {@link org.testcontainers.cassandra.delegate.CassandraDatabaseDelegate} instead.
modules/cassandra/src/main/java/org/testcontainers/containers/delegate/CassandraDatabaseDelegate.java