Skip to content

Fixes CompactionIT.testMultiStepCompactionThatDeletesAll()#4259

Closed
keith-turner wants to merge 1 commit intoapache:elasticityfrom
keith-turner:fix-compaction-it-2
Closed

Fixes CompactionIT.testMultiStepCompactionThatDeletesAll()#4259
keith-turner wants to merge 1 commit intoapache:elasticityfrom
keith-turner:fix-compaction-it-2

Conversation

@keith-turner
Copy link
Copy Markdown
Contributor

CompactionIT.countFiles() was counting in an overly broad way that included the new +fate table and the new availability columns in ~tab. This was causing a test failure. Narrowed the scope of countFiles to fix this.

CompactionIT.countFiles() was counting in an overly broad way that
included the new +fate table and the new availability columns in ~tab.
This was causing a test failure.  Narrowed the scope of countFiles to
fix this.
@EdColeman
Copy link
Copy Markdown
Contributor

This is targeted for elasticity. Would any of the similar compaction tests in main benefit from a similar narrowing? Or is this strictly unique to elasticity? Could be out of scope for this change, but didn't want to pass up an opportunity if we could improve the compaction tests in general.

keith-turner added a commit that referenced this pull request Feb 13, 2024
CompactionIT.countFiles() was counting in an overly broad way.  In the
elasticity branch that included the new +fate table and the new availability
columns in ~tab. This was causing a test failure. Narrowed the scope of
countFiles to fix this.  Even though the test was not broken in 2.1, the
test fixes were made there because its a general improvement to the test.
@keith-turner
Copy link
Copy Markdown
Contributor Author

Made the change in 2.1 and merged forward

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