RussellSpitzer commented on a change in pull request #3733:
URL: https://github.com/apache/iceberg/pull/3733#discussion_r769098271
##########
File path: core/src/test/java/org/apache/iceberg/TestTables.java
##########
@@ -103,6 +109,21 @@ public static TestTable load(File temp, String name) {
return new TestTable(ops, name);
}
+ public static TestTable tableWithCommitSucceedButStateUnknown(File temp,
String name) {
+ TestTableOperations ops = opsWithCommitSucceedButStateUnknown(temp, name);
+ return new TestTable(ops, name);
+ }
+
+ public static TestTableOperations opsWithCommitSucceedButStateUnknown(File
temp, String name) {
+ return new TestTableOperations(name, temp) {
+ @Override
+ public void commit(TableMetadata base, TableMetadata updatedMetadata) {
+ super.commit(base, updatedMetadata);
+ throw new CommitStateUnknownException(new RuntimeException("datacenter
on fire"));
Review comment:
I was glad to see you kept the tradition alive here
--
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]