Skip to content

Commit

Permalink
Remove redundant mdt validation
Browse files Browse the repository at this point in the history
Rebase
  • Loading branch information
codope committed Mar 31, 2022
1 parent fd030c4 commit 6c89a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.apache.hudi.common.model.HoodieCommitMetadata;
import org.apache.hudi.common.table.HoodieTableMetaClient;

import java.io.IOException;
import java.io.Serializable;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,6 @@ public void testDeletePartitions() throws Exception {
newCommitTime = HoodieActiveTimeline.createNewInstantTime(5000);
client.startCommitWithTime(newCommitTime);
client.deletePartitions(singletonList(HoodieTestDataGenerator.DEFAULT_FIRST_PARTITION_PATH), newCommitTime);
validateMetadata(client);

// add 1 more commit
newCommitTime = HoodieActiveTimeline.createNewInstantTime(5000);
Expand All @@ -1842,7 +1841,7 @@ public void testDeletePartitions() throws Exception {
writeStatuses = client.upsert(jsc.parallelize(upsertRecords, 1), newCommitTime).collect();
assertNoWriteErrors(writeStatuses);

// trigger clean which will actually triggger deletion of the partition
// trigger clean which will actually trigger deletion of the partition
newCommitTime = HoodieActiveTimeline.createNewInstantTime(5000);
HoodieCleanMetadata cleanMetadata = client.clean(newCommitTime);
validateMetadata(client);
Expand Down

0 comments on commit 6c89a72

Please sign in to comment.