rdblue commented on code in PR #11947: URL: https://github.com/apache/iceberg/pull/11947#discussion_r1917413799
########## core/src/test/java/org/apache/iceberg/TestSnapshotJson.java: ########## @@ -56,13 +56,16 @@ public void testJsonConversion() throws IOException { @Test public void testJsonConversionWithoutSchemaId() throws IOException { - int snapshotId = 23; - Long parentId = null; - String manifestList = createManifestListWithManifestFiles(snapshotId, parentId); - Snapshot expected = - new BaseSnapshot( - 0, snapshotId, parentId, System.currentTimeMillis(), null, null, null, manifestList); + MetadataTestUtils.buildTestSnapshotWithExampleValues() + .setOperation(null) + .setSummary(null) + .setSchemaId(null) Review Comment: Should this set operation and summary? Seems like only schema ID is needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org