Skip to content

[Bug]: New Cassandra container fails to start DSE 6.8.47 #9337

@wendigo

Description

@wendigo

Module

Core

Testcontainers version

1.20.2

Using the latest Testcontainers version?

Yes

Host OS

MacOS

Host Arch

ARM

Docker version

latest

What happened?

In the previous, non-deprecated Cassandra container, CassandraDatabaseDelegate was using Cassandra Session to execute statement that determines whether the server is up. New logic is using csqlsh which doesn't work with the DSE distribution anymore. Since the old Cassandra container is deprecated, this is a breaking change.

Relevant log output

2024-10-01T04:54:50.667-0600	ERROR	ducttape-0	org.testcontainers.cassandra.delegate.CassandraDatabaseDelegate	CQL script execution failed with error: 
Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions