Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Cassandra service for unit tests #40

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Use Cassandra service for unit tests #40

merged 1 commit into from
Nov 14, 2024

Conversation

rnro
Copy link
Contributor

@rnro rnro commented Nov 14, 2024

Use Cassandra service for unit tests.

Motivation:

To speed up and simplify unit tests which rely on a running Cassandra server.

Modifications:

  • Use a Cassandra service instead of installing and running Cassandra in the test container
  • Tidy up existing actions workflows
    • Combine main.yml and scheduled.yml
    • Remove non-functional Swift 6 Language mode
  • Extend Cassandra timeouts in tests to combat flakiness seen in local tests.

Result:

Faster unit tests.

@rnro rnro force-pushed the use_actions_service branch from 24568b1 to e6051cd Compare November 14, 2024 06:39
Use Cassandra service for unit tests.

Motivation:

To speed up and simplify unit tests which rely on a running Cassandra
server.

Modifications:

* Use a Cassandra service instead of installing and running Cassandra in
  the test container
* Tidy up existing actions workflows
  * Combine `main.yml` and `scheduled.yml`
  * Remove non-functional Swift 6 Language mode
* Extend Cassandra timeouts in tests to combat flakiness seen in local
  tests.

Result:

Faster unit tests.
@rnro rnro added the 🔨 semver/patch No public API change. label Nov 14, 2024
@rnro rnro force-pushed the use_actions_service branch from e6051cd to fc14781 Compare November 14, 2024 06:43
@ktoso
Copy link
Member

ktoso commented Nov 14, 2024

branch protections updated

@rnro rnro enabled auto-merge (squash) November 14, 2024 08:24
@rnro rnro merged commit fe0a493 into main Nov 14, 2024
23 checks passed
@rnro rnro deleted the use_actions_service branch November 14, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants