Skip to content

CASSANALYTICS144: Split testing pipelines out#198

Open
jmckenzie-dev wants to merge 14 commits intoapache:trunkfrom
jmckenzie-dev:ca144_split_pipelines
Open

CASSANALYTICS144: Split testing pipelines out#198
jmckenzie-dev wants to merge 14 commits intoapache:trunkfrom
jmckenzie-dev:ca144_split_pipelines

Conversation

@jmckenzie-dev
Copy link
Copy Markdown
Contributor

We need to de-parameterize testing, split out to a representative pre-commit smoke test, and ideally randomize our test ordering reproducibly based on the SHA of the commit we're testing. Oh, and probably tune our resource utilization for integration and unit tests.

Patch by Josh McKenzie, reviewed by TBD for CASSANALYTICS-144

Breaks out tests to parameterize based on specific cassandra versions.
Gradle files will be coupled with CassandraVersion.java but both are
commented to indicate their interdependency with one another.

Also adds some convenience configurations in intellij config so you
can select a specific cassandra version to run tests against at runtime
or just choose "test" or "testSequential" to run against all supported
major cassandra versions.
MultipleTokens test classes use assumeThat(>= 4.1) in @BeforeAll to skip
on Cassandra 4.0. When CI runs these individually via --tests, the
skipped @BeforeAll leaves zero discovered tests, causing Gradle to fail
with "No tests found." Move failOnNoMatchingTests(false) out of the
skipContainerTest guard so it applies unconditionally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant