echauchot commented on a change in pull request #18115:
URL: https://github.com/apache/flink/pull/18115#discussion_r769781993
##########
File path:
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java
##########
@@ -174,70 +151,18 @@ protected Cluster buildCluster(Cluster.Builder builder) {
}
}
- private static class EmbeddedCassandraService {
- CassandraDaemon cassandraDaemon;
-
- public void start() throws IOException {
- this.cassandraDaemon = new CassandraDaemon();
- this.cassandraDaemon.init(null);
- this.cassandraDaemon.start();
- }
-
- public void stop() {
- this.cassandraDaemon.stop();
- }
+ public static CassandraContainer createCassandraContainer(String imageTag)
{
+ CassandraContainer cassandra =
+ new
CassandraContainer(DockerImageName.parse("cassandra").withTag(imageTag));
Review comment:
makes total sense
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]