Skip to content

Commit

Permalink
Core: Use more permissive check when registering existing table
Browse files Browse the repository at this point in the history
  • Loading branch information
nastra committed Oct 10, 2023
1 parent 2504c58 commit 1ee817b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,7 @@ public void testRegisterExistingTable() {
String metadataLocation = ops.current().metadataFileLocation();
Assertions.assertThatThrownBy(() -> catalog.registerTable(identifier, metadataLocation))
.isInstanceOf(AlreadyExistsException.class)
.hasMessage("Table already exists: a.t1");
.hasMessageStartingWith("Table already exists: a.t1");
Assertions.assertThat(catalog.dropTable(identifier)).isTrue();
}

Expand Down

0 comments on commit 1ee817b

Please sign in to comment.