Skip to content

Commit

Permalink
unique offsets for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck committed Oct 15, 2023
1 parent 5d64655 commit 44a5891
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/test/java/org/apache/iceberg/TableTestBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class TableTestBase {
.withFileSizeInBytes(10)
.withPartitionPath("data_bucket=1") // easy way to set partition data for now
.withRecordCount(1)
.withSplitOffsets(ImmutableList.of(4L))
.withSplitOffsets(ImmutableList.of(1L))
.build();
static final DeleteFile FILE_B_DELETES =
FileMetadata.deleteFileBuilder(SPEC)
Expand All @@ -113,7 +113,7 @@ public class TableTestBase {
.withFileSizeInBytes(10)
.withPartitionPath("data_bucket=2") // easy way to set partition data for now
.withRecordCount(1)
.withSplitOffsets(ImmutableList.of(4L, 10_000_000L))
.withSplitOffsets(ImmutableList.of(2L, 2_000_000L))
.build();
static final DeleteFile FILE_C2_DELETES =
FileMetadata.deleteFileBuilder(SPEC)
Expand All @@ -129,7 +129,7 @@ public class TableTestBase {
.withFileSizeInBytes(10)
.withPartitionPath("data_bucket=3") // easy way to set partition data for now
.withRecordCount(1)
.withSplitOffsets(ImmutableList.of(4L, 10_000_000L, 20_000_000L))
.withSplitOffsets(ImmutableList.of(3L, 3_000L, 3_000_000L))
.build();
static final DeleteFile FILE_D2_DELETES =
FileMetadata.deleteFileBuilder(SPEC)
Expand Down

0 comments on commit 44a5891

Please sign in to comment.