[ 
https://issues.apache.org/jira/browse/CASSANDRA-19796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886968#comment-17886968
 ] 

João Reis commented on CASSANDRA-19796:
---------------------------------------

I can take a look at these PRs but right now I'm a bit confused, I thought this 
Jira ticket is about making gocql CI run in a similar way to other subprojects 
or the main C* project, right? There's efforts to run the java driver CI on the 
ASF infrastructure and I think this Jira ticket is about doing that for gocql.

In this context, I don't see how a PR that replaces ccm with testcontainers is 
related to this ticket. We need a separate ticket to discuss the testcontainers 
stuff which I honestly am not 100% sure is something we should do... I'm going 
to talk to a dev that was involved in the efforts to move the java driver to 
testcontainers to get his feedback on this.

Martin commented on this issue that the goal would be to make it possible to 
simulate cases like "topology changes, nodes joining, leaving, re-joining with 
a different IP address, etc." but this is possible with CCM, C* runs tests like 
these, other C* drivers do this as well. We'd have to rewrite the tests to stop 
using a "global" shared ccm cluster and create 1 cluster per "set" of tests. 
Other drivers also use Simulacron to simulate things that don't require a real 
cluster since it's very lightweight and fast.

I've created CASSANDRA-19978 to discuss the integration test setup, let's move 
the testcontainers discussion there.

> Setup cassandra-gocql-driver CI
> -------------------------------
>
>                 Key: CASSANDRA-19796
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19796
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: CI, Client/gocql-driver
>            Reporter: Michael Semb Wever
>            Assignee: Stanislav Bychkov
>            Priority: Normal
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> This may be just confirming GHA still works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to