Skip to content

Commit

Permalink
Fix failed to run the testIcebergCatalogCreatedByGravitino tester.
Browse files Browse the repository at this point in the history
  • Loading branch information
diqiu50 committed Jan 5, 2024
1 parent 775072b commit 61f0a23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ void testIcebergCatalogCreatedByGravitino() throws InterruptedException {
final String sql1 =
String.format("drop schema \"%s.%s\".%s cascade", metalakeName, catalogName, schemaName);
// Will fail because the iceberg catalog does not support cascade drop
containerSuite.getTrinoContainer().executeUpdateSQL(sql1);
Assertions.assertThrows(RuntimeException.class, ()->containerSuite.getTrinoContainer().executeUpdateSQL(sql1));

final String sql2 =
String.format("show schemas in \"%s.%s\" like '%s'", metalakeName, catalogName, schemaName);
Expand Down

0 comments on commit 61f0a23

Please sign in to comment.