This is an automated email from the ASF dual-hosted git repository. xushiyan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push: new 653aa86145f [MINOR] Fix wrong assertion in TestHoodieTableFactory.java (#7916) 653aa86145f is described below commit 653aa86145fbd4c1d52615a5e2dc2f7cbe3009e2 Author: Paul Zhang <xzhang...@126.com> AuthorDate: Sat Feb 11 04:48:35 2023 +0800 [MINOR] Fix wrong assertion in TestHoodieTableFactory.java (#7916) --- .../src/test/java/org/apache/hudi/table/TestHoodieTableFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/TestHoodieTableFactory.java b/hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/TestHoodieTableFactory.java index 636eaeffa4c..2fad62d0672 100644 --- a/hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/TestHoodieTableFactory.java +++ b/hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/TestHoodieTableFactory.java @@ -189,7 +189,7 @@ public class TestHoodieTableFactory { // Table type unset. The default value will be ok final MockContext sourceContext1 = MockContext.getInstance(this.conf, schema, "f2"); - assertThrows(HoodieValidationException.class, () -> new HoodieTableFactory().createDynamicTableSink(sourceContext1)); + assertDoesNotThrow(() -> new HoodieTableFactory().createDynamicTableSink(sourceContext1)); // Invalid table type will throw exception this.conf.set(FlinkOptions.TABLE_TYPE, "INVALID_TABLE_TYPE");