Skip to content

Add DataStax Enterprise as a Cassandra test environment#13597

Merged
ebyhr merged 2 commits intotrinodb:masterfrom
kamil-rafalko:datastax-test-environment
Aug 16, 2022
Merged

Add DataStax Enterprise as a Cassandra test environment#13597
ebyhr merged 2 commits intotrinodb:masterfrom
kamil-rafalko:datastax-test-environment

Conversation

@kamil-rafalko
Copy link
Copy Markdown
Member

Description

This PR adds a new test environment to the Cassandra connector smoke tests in particular DataStax Enterprise in version 6.8.25 (for more information please visit docs)

Related issues, pull requests, and links

Closes #10444

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Aug 10, 2022
Comment on lines 33 to 34
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit
Imo it's better if the two come together as a single String

Suggested change
"datastax/dse-server",
"6.8.25",
"datastax/dse-server:6.8.25",

@kamil-rafalko kamil-rafalko requested review from ebyhr and findepi August 10, 2022 12:44
Copy link
Copy Markdown
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please reorder the commit as

  1. Merge docker image name and tag in Cassandra
  2. Change Cassandra port in cu-casandra.yaml
  3. Add DataStax Enterprise as a Cassandra test environment

The preparatory commits should be first.

@kamil-rafalko kamil-rafalko force-pushed the datastax-test-environment branch 3 times, most recently from bbcc30d to 8bca8be Compare August 11, 2022 20:32
@kamil-rafalko kamil-rafalko requested a review from ebyhr August 11, 2022 21:12
Copy link
Copy Markdown
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran stress tests in #13623 with these commits (red) and #13625 without these commits (green) because adding a new test environment sometimes leads to flaky tests. Can you debug why #13623 failed?

@kamil-rafalko kamil-rafalko force-pushed the datastax-test-environment branch from 119882c to 17ea897 Compare August 16, 2022 06:43
@kamil-rafalko kamil-rafalko force-pushed the datastax-test-environment branch from 8083a12 to 82b44f6 Compare August 16, 2022 14:14
@kamil-rafalko
Copy link
Copy Markdown
Member Author

@ebyhr I think I've managed to fix unstable tests. It turned out that path that we currently use as a cassandra.yaml path is not valid in Datastax Enterprise image. I had to parameterize this directory in order to provide a different path for DSE. Additionally, current config file is not 100% compatible with DSE so I've prepared an alternative, minimal version of it. Please review it one more time.

@ebyhr ebyhr merged commit fd7826e into trinodb:master Aug 16, 2022
@ebyhr
Copy link
Copy Markdown
Member

ebyhr commented Aug 16, 2022

Merged, thanks!

@github-actions github-actions bot added this to the 393 milestone Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Add DataStax as Cassandra test environment

3 participants