You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/04/03 20:47:35 UTC

[GitHub] [iceberg] rdblue commented on a diff in pull request #4464: Core: Fix Conflicting transactions are ignored during commit

rdblue commented on code in PR #4464:
URL: https://github.com/apache/iceberg/pull/4464#discussion_r841275479


##########
core/src/test/java/org/apache/iceberg/TestTransaction.java:
##########
@@ -420,6 +421,35 @@ public void testMultipleUpdateTransactionRetryMergeCleanup() {
     Assert.assertFalse("Append manifest should be deleted", new File(appendManifest.path()).exists());
   }
 
+  @Test
+  public void testTransactionRetrySchemaUpdate() {
+    // use only one retry
+    table.updateProperties()
+            .set(TableProperties.COMMIT_NUM_RETRIES, "1")
+            .commit();

Review Comment:
   Please fix indentation.



-- 
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: dev-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org