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

test/cqlpy/run: fix regression in "--release" option #22350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nyh
Copy link
Contributor

@nyh nyh commented Jan 16, 2025

The way that the "test/cqlpy/run --release" feature runs older Scylla releases is that it takes today's command line parameters and "fixes" it to conform to what old releases took. This approach was easy to implement (and the resulting "--release" feature is super useful), but the downside is that we need to update this fixup code whenever we add new options to the Scylla command line used by test/cqlpy/run.py.

Commit d04f376 made test/cqlpy/run.py use a new option "--experimental-features=views-with-tablets", so now we need to remove it when running older versions of Scylla. So this is what we do in this patch.

Fixes #22349

The way that the "test/cqlpy/run --release" feature runs older Scylla
releases is that it takes *today*'s command line parameters and "fixes"
it to conform to what old releases took. This approach was easy to
implement (and the resulting "--release" feature is super useful), but
the downside is that we need to update this fixup code whenever we add
new options to the Scylla command line used by test/cqlpy/run.py.

Commit d04f376 made test/cqlpy/run.py use a new option
"--experimental-features=views-with-tablets", so now we need to remove
it when running older versions of Scylla. So this is what we do in this
patch.

Fixes scylladb#22349

Signed-off-by: Nadav Har'El <nyh@scylladb.com>
@nyh nyh requested a review from wmitros January 16, 2025 16:33
@github-actions github-actions bot added the area/test Issues related to the testing system code and environment label Jan 16, 2025
@scylladb-promoter
Copy link
Contributor

🟢 CI State: SUCCESS

✅ - Build
✅ - Unit Tests

Build Details:

  • Duration: 4 hr 32 min
  • Builder: spider7.cloudius-systems.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test Issues related to the testing system code and environment backport/none Backport is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test/cqlpy/run --release - fix non-support of "views-with-tablets" in older version
3 participants