-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[HUDI-8685] Re-enabling flaky/buggy test (TestHoodieBackedTableMetadata.testCleaningArchivingAndCompaction) #12656
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nsivabalan Thanks for working on this! The CI is failing, can you please take a look?
public void testCleaningArchivingAndCompaction() throws Exception { | ||
init(HoodieTableType.COPY_ON_WRITE, false); | ||
HoodieSparkEngineContext engineContext = new HoodieSparkEngineContext(jsc); | ||
|
||
final int maxDeltaCommitsBeforeCompaction = 3; | ||
final int maxDeltaCommitsBeforeCompaction = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: Rename to maxDeltaCommitsBeforeCompactionInMDT
@@ -2509,13 +2509,14 @@ public void testReader() throws Exception { | |||
* <p> | |||
* Metadata Table should be automatically compacted as per config. | |||
*/ | |||
@Disabled | |||
@Test | |||
public void testCleaningArchivingAndCompaction() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we reduce the complexity of the test or break it into separate tests?
Probably clustering related behaviour can be verified in a separate test.
FileCreateUtils.createInflightCommit(basePath, newCommitTime); | ||
inflightCommitTime = newCommitTime; | ||
totalExpectedDeltaCommitsinMdt += 1; | ||
if (i == 2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this only happen at i == 2 or also in subsequent iterations?
Change Logs
Re-enabling flaky/buggy test (TestHoodieBackedTableMetadata.testCleaningArchivingAndCompaction)
Impact
Re-enabling flaky/buggy test (TestHoodieBackedTableMetadata.testCleaningArchivingAndCompaction)
Risk level (write none, low medium or high below)
low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
ticket number here and follow the instruction to make
changes to the website.
Contributor's checklist