Skip to content

Commit ff0939b

Browse files
committed
fix test
1 parent 7055bd0 commit ff0939b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fluss-lake/fluss-lake-paimon/src/test/java/org/apache/fluss/lake/paimon/LakeEnabledTableCreateITCase.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void testAlterLakeEnabledTable() throws Exception {
410410
.customProperties(customProperties)
411411
.distributedBy(BUCKET_NUM, "c1", "c2")
412412
.build();
413-
TablePath tablePath = TablePath.of(DATABASE, "log_table");
413+
TablePath tablePath = TablePath.of(DATABASE, "alter_table");
414414
admin.createTable(tablePath, tableDescriptor, false).get();
415415
Table paimonTable =
416416
paimonCatalog.getTable(Identifier.create(DATABASE, tablePath.getTableName()));
@@ -480,6 +480,9 @@ void testAlterLakeEnabledTable() throws Exception {
480480
assertThatThrownBy(() -> admin.alterTable(tablePath, finalTableChanges1, false).get())
481481
.cause()
482482
.isInstanceOf(FlussRuntimeException.class);
483+
484+
// should be ok
485+
admin.alterTable(TablePath.of(DATABASE, "not_exist_table"), tableChanges, true).get();
483486
}
484487

485488
private void verifyPaimonTable(

0 commit comments

Comments
 (0)