Rajeev-01 commented on code in PR #14404:
URL: https://github.com/apache/iceberg/pull/14404#discussion_r2454790133
##########
core/src/test/java/org/apache/iceberg/hadoop/TestHadoopCommits.java:
##########
@@ -481,7 +481,10 @@ public void testCommitFailedToAcquireLock() {
new Path(table.location()), new HadoopFileIO(conf), conf,
lockManager);
tableOperations.refresh();
BaseTable baseTable = (BaseTable) table;
- TableMetadata meta2 = baseTable.operations().current();
+ TableMetadata meta2 =
+ TableMetadata.buildFrom(baseTable.operations().current())
+ .assignUUID(UUID.randomUUID().toString())
+ .build();
Review Comment:
Previously we are using same tableMetadata object to test the failed to
acquire the lock during commit
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]