From 44a589142d5a14555e7d022d8cc4d6954a16a2c0 Mon Sep 17 00:00:00 2001 From: Bryan Keller Date: Sun, 15 Oct 2023 11:53:12 -0700 Subject: [PATCH] unique offsets for tests --- core/src/test/java/org/apache/iceberg/TableTestBase.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/test/java/org/apache/iceberg/TableTestBase.java b/core/src/test/java/org/apache/iceberg/TableTestBase.java index 1f83e8e97ccb..3922df8eb2ba 100644 --- a/core/src/test/java/org/apache/iceberg/TableTestBase.java +++ b/core/src/test/java/org/apache/iceberg/TableTestBase.java @@ -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) @@ -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) @@ -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)