Skip to content

tests: use tablets-disabled keyspace instead of xfail for scylladb/scylladb#22677#888

Merged
dkropachev merged 1 commit into
scylladb:masterfrom
sylwiaszunejko:use-vnodes-not-xfail
May 15, 2026
Merged

tests: use tablets-disabled keyspace instead of xfail for scylladb/scylladb#22677#888
dkropachev merged 1 commit into
scylladb:masterfrom
sylwiaszunejko:use-vnodes-not-xfail

Conversation

@sylwiaszunejko
Copy link
Copy Markdown
Collaborator

Tests that previously xfailed on ScyllaDB < 2026.1 due to MVs, secondary indexes, and counters not being supported on tables with tablets now create their keyspace with 'AND tablets = {"enabled": false}' for those older versions, so the tests run and pass rather than being expected to fail.

A new helper get_tablets_disabled_ddl_suffix() is added to tests/integration/__init__.py to return the appropriate DDL suffix.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

…ylladb#22677

Tests that previously xfailed on ScyllaDB < 2026.1 due to MVs, secondary
indexes, and counters not being supported on tables with tablets now create
their keyspace with 'AND tablets = {"enabled": false}' for those older
versions, so the tests run and pass rather than being expected to fail.

A new helper get_tablets_disabled_ddl_suffix() is added to
tests/integration/__init__.py to return the appropriate DDL suffix.
@sylwiaszunejko sylwiaszunejko requested a review from dkropachev May 15, 2026 09:04
@sylwiaszunejko sylwiaszunejko self-assigned this May 15, 2026
@dkropachev dkropachev merged commit cf01c3f into scylladb:master May 15, 2026
16 of 21 checks passed
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.

2 participants