Skip to content

Disable index-related tests for Object Storage that were missed in the backport of #3503#3533

Merged
brfrn169 merged 2 commits into
3.17from
3.17-fix-objectstorage-disabled-overrides
Apr 28, 2026
Merged

Disable index-related tests for Object Storage that were missed in the backport of #3503#3533
brfrn169 merged 2 commits into
3.17from
3.17-fix-objectstorage-disabled-overrides

Conversation

@brfrn169

@brfrn169 brfrn169 commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

Description

The backport #3503 (which backported #3488 to the 3.17 branch) added three new index-based tests to ConsensusCommitSpecificIntegrationTestBase. Object Storage does not support secondary indexes, so all index-based tests in ConsensusCommitSpecificIntegrationTestWithObjectStorage are overridden with @Disabled("Object Storage does not support index-related operations"). However, the 3.17 backport missed adding the corresponding @Disabled overrides for the three new tests, which caused the Object Storage integration test job to fail with IllegalArgumentException from OperationChecker (OPERATION_CHECK_ERROR_INDEX_NON_INDEXED_COLUMN_SPECIFIED) on 3 isolation levels each (9 failures total) across all Java versions in the 3.17 CI run.

The override block already exists on master; this PR brings it over to 3.17.

Reference failed run: https://github.com/scalar-labs/scalardb/actions/runs/24931966290

Related issues and/or PRs

Changes made

  • Added three @Disabled overrides in ConsensusCommitSpecificIntegrationTestWithObjectStorage for the following tests, matching the contents already present on master:
    • get_GetWithIndexForPreparedWhenCoordinatorStateAbortedAndIndexKeyMatchesAfterImage_ShouldRollBackAndFilterOutResult
    • scan_ScanWithIndexForPreparedWhenCoordinatorStateAbortedAndIndexKeyMatchesAfterImage_ShouldRollBackAndFilterOutResult
    • getScanner_ScanWithIndexForPreparedWhenCoordinatorStateAbortedAndIndexKeyMatchesAfterImage_ShouldRollBackAndFilterOutResult

Checklist

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • I have considered whether similar issues could occur in other products, components, or modules if this PR is for bug fixes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • Tests (unit, integration, etc.) have been added for the changes.
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

This is a 3.17-only fix; master already contains the equivalent overrides, so no forward-port is needed. The 3.16 branch does not have Object Storage support and is unaffected.

Release notes

N/A

…e backport of #3503

Object Storage does not support secondary indexes, so index-based tests
are overridden with @disabled in ConsensusCommitSpecificIntegrationTestWithObjectStorage.
The backport of #3503 added three new index-based tests to the base class
but missed adding the corresponding @disabled overrides, causing the Object
Storage integration test job to fail on 3.17 with IllegalArgumentException
from OperationChecker (OPERATION_CHECK_ERROR_INDEX_NON_INDEXED_COLUMN_SPECIFIED).

This adds the three missing overrides, matching the contents already
present on master.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the ConsensusCommitSpecificIntegrationTestWithObjectStorage class by overriding and disabling three integration tests related to index operations, as Object Storage does not support them. I have no feedback to provide.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the 3.17 backport gap where newly added index-based integration tests were not disabled for the Object Storage backend, which does not support secondary index operations.

Changes:

  • Added three method overrides in ConsensusCommitSpecificIntegrationTestWithObjectStorage annotated with @Disabled to prevent index-based tests from running on Object Storage.
  • Aligns 3.17 behavior with master, avoiding CI failures caused by index operation checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@brfrn169 brfrn169 merged commit 8ba7d32 into 3.17 Apr 28, 2026
13 checks passed
@brfrn169 brfrn169 deleted the 3.17-fix-objectstorage-disabled-overrides branch April 28, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants