Skip to content

testcontainers-java pervert running the test suite with scylladb/scylla docker image  #2351

Description

@fruch

Recently the docker base tests for scylladb stopped working
the last confirmed one that was working (in our CI) was c97e84e

$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
$ mvn clean install -pl janusgraph-cql -Pscylladb
...
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.085 s <<< FAILURE! - in org.janusgraph.diskstorage.cql.CQLDistributedStoreManagerTest                                              
[ERROR] org.janusgraph.diskstorage.cql.CQLDistributedStoreManagerTest  Time elapsed: 0.085 s  <<< ERROR!                                                                                                     
java.lang.ExceptionInInitializerError                                                                                                                                                                        
        at org.janusgraph.diskstorage.cql.CQLDistributedStoreManagerTest.<clinit>(CQLDistributedStoreManagerTest.java:37)

closer look seem to there a new PR
testcontainers/testcontainers-java#3021

that breaks taking scylla docker as a drop in replacement in the tests...
since the docker image name doesn't start with "cassandra"...

running the test suite with the cassandra docker image does work...

Any ideas on how it can be solved ?

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