Skip to content

Commit

Permalink
[Fix][Connector-V2] update
Browse files Browse the repository at this point in the history
  • Loading branch information
corgy-w committed Aug 28, 2024
1 parent f833da7 commit 94c9bd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
import org.testcontainers.lifecycle.Startables;

import com.github.dockerjava.api.model.Image;
import lombok.SneakyThrows;

import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -461,9 +460,8 @@ public void testCatalog() {
}
}

@SneakyThrows
@Test
public void testCatalogWithCatalogUtils() {
public void testCatalogWithCatalogUtils() throws SQLException, ClassNotFoundException {
if (StringUtils.isBlank(jdbcCase.getTablePathFullName())) {
return;
}
Expand All @@ -479,6 +477,7 @@ public void testCatalogWithCatalogUtils() {
JdbcCatalogUtils.getTables(
JdbcConnectionConfig.builder()
.url(jdbcCase.getJdbcUrl().replace(HOST, dbServer.getHost()))
.driverName(jdbcCase.getDriverClass())
.username(jdbcCase.getUserName())
.password(jdbcCase.getPassword())
.build(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class JdbcHiveIT extends AbstractJdbcIT {

private static final String HIVE_DATABASE = "default";

private static final String HIVE_SOURCE = "hive_e2e_table_source";
private static final String HIVE_SOURCE = "hive_e2e_source_table";
private static final String HIVE_USERNAME = "root";
private static final String HIVE_PASSWORD = null;
private static final int HIVE_PORT = 10000;
Expand Down

0 comments on commit 94c9bd3

Please sign in to comment.