Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mchades committed Oct 17, 2024
1 parent 7429161 commit 2938fd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void testCatalogAvailable() {
CatalogNotInUseException.class,
() -> metalake.alterCatalog(catalogName, CatalogChange.updateComment("new comment")));
Assertions.assertTrue(
exception.getMessage().contains("please activate it first"), exception.getMessage());
exception.getMessage().contains("please enable it first"), exception.getMessage());

// test schema operations under non-in-use catalog
SupportsSchemas schemaOps = loadedCatalog.asSchemas();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ protected <R, E extends Throwable> R doWithCatalog(
NameIdentifier ident, ThrowableFunction<CatalogManager.CatalogWrapper, R> fn, Class<E> ex)
throws E {
if (!catalogInUse(store, ident)) {
throw new CatalogNotInUseException(
"Catalog %s is not in use, please activate it first", ident);
throw new CatalogNotInUseException("Catalog %s is not in use, please enable it first", ident);
}

try {
Expand All @@ -120,8 +119,7 @@ protected <R, E1 extends Throwable, E2 extends Throwable> R doWithCatalog(
Class<E2> ex2)
throws E1, E2 {
if (!catalogInUse(store, ident)) {
throw new CatalogNotInUseException(
"Catalog %s is not in use, please activate it first", ident);
throw new CatalogNotInUseException("Catalog %s is not in use, please enable it first", ident);
}

try {
Expand Down

0 comments on commit 2938fd1

Please sign in to comment.