frankgh opened a new pull request, #29: URL: https://github.com/apache/cassandra-analytics/pull/29
This commit introduces an opinionated way to run integration tests where a test class reuses the same in-jvm dtest cluster, and it offers certain ordering that help running tests faster. The test setup does the following: - Find the Cassandra version to run - Provision a cluster for the test - Initialize schemas required for tests - Start the Sidecar service The above approach guarantess that Sidecar is ready once the setup method completes, which means we no longer need to spend time waiting for schema propagation. This optimization also helps in reducing test time. The drawback of this approach is that if we need the cluster to be in some state for testing, for example a node needs to be in joining state while executing the bulk test then, that cluster can only be used for tests in that state. Which means that testing different states of the cluster requires a new test class. Patch by Francisco Guerrero for CASSANDRA-19251. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
