Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Dec 4, 2024
1 parent 134a13c commit 8673633
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ public static IcebergTableMetadata.Builder tableMetadataSimple() {
.putSummary("operation", "testing")
.sequenceNumber(123L)
.timestampMs(12345678L)
.manifestList("s3://this-does-not-exist/anywhere/")
.build())
.putRef("main", IcebergSnapshotRef.builder().type("branch").snapshotId(11).build())
.addSnapshotLog(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public void close() throws IOException {
};
UUID commitId = randomUUID();
long snapshotId = 1;
long sequenceNumber = 1;
long sequenceNumber = 1000;
long timestamp = 1715175169320L;
IcebergManifestFileGenerator manifestFileGenerator =
IcebergManifestFileGenerator.builder()
Expand Down Expand Up @@ -210,7 +210,7 @@ public void close() throws IOException {
.currentSnapshotId(snapshotId)
.defaultSpecId(schemaGenerator.getIcebergPartitionSpec().specId())
.defaultSortOrderId(IcebergSortOrder.UNSORTED_ORDER.orderId())
.lastSequenceNumber(1L)
.lastSequenceNumber(1000L)
.addSnapshot(snapshotWithManifestList)
.build();
metadataConsumer.accept(icebergMetadataWithManifestList);
Expand Down

0 comments on commit 8673633

Please sign in to comment.