yuqi1129 commented on code in PR #10199:
URL: https://github.com/apache/gravitino/pull/10199#discussion_r2894316661
##########
catalogs-contrib/catalog-jdbc-oceanbase/src/test/java/org/apache/gravitino/catalog/oceanbase/integration/test/CatalogOceanBaseIT.java:
##########
@@ -304,7 +304,7 @@ void testOperationOceanBaseSchema() {
// create failed check.
NameIdentifier table = NameIdentifier.of(testSchemaName, "test_table");
Assertions.assertThrows(
- NoSuchSchemaException.class,
+ NotFoundException.class,
Review Comment:
It should be `NotFoundException.class` due to changes in
https://github.com/apache/gravitino/blob/397b7ed0522d92cb36b65abe2c4ae81917f47613/server/src/main/java/org/apache/gravitino/server/web/rest/TableOperations.java#L145-L148
I use https://github.com/apache/gravitino/issues/10281 track the problem.
##########
catalogs-contrib/catalog-jdbc-oceanbase/src/test/java/org/apache/gravitino/catalog/oceanbase/integration/test/CatalogOceanBaseIT.java:
##########
@@ -304,7 +304,7 @@ void testOperationOceanBaseSchema() {
// create failed check.
NameIdentifier table = NameIdentifier.of(testSchemaName, "test_table");
Assertions.assertThrows(
- NoSuchSchemaException.class,
+ NotFoundException.class,
Review Comment:
It should be `NotFoundException.class` due to changes in
https://github.com/apache/gravitino/blob/397b7ed0522d92cb36b65abe2c4ae81917f47613/server/src/main/java/org/apache/gravitino/server/web/rest/TableOperations.java#L145-L148
I use to https://github.com/apache/gravitino/issues/10281 track the problem.
--
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]