Skip to content

Commit fe37e60

Browse files
committed
install libtinfo for obclient
1 parent 0ca0528 commit fe37e60

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

oceanbase-ce/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG STEP
77
RUN yum install -y yum-utils && \
88
yum-config-manager --add-repo https://mirrors.oceanbase.com/oceanbase/OceanBase.repo && \
99
sed -i 's/$releasever/7/' /etc/yum.repos.d/OceanBase.repo && \
10-
yum install -y ob-deploy obclient ob-sysbench libaio bc libselinux-utils zip && \
10+
yum install -y ob-deploy obclient ob-sysbench libaio bc libselinux-utils zip libtinfo && \
1111
rm -rf /usr/obd/mirror/remote/* && \
1212
yum clean all
1313

test/src/test/java/com/oceanbase/test/OceanBaseCETest.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ public void testOceanBaseCE(
5858
String username,
5959
String password) {
6060

61+
LOG.info(
62+
"Testing with args: [useLegacyDriver: {}, host: {}, port: {}, username: {}, password: {}]",
63+
useLegacyDriver,
64+
host,
65+
port,
66+
username,
67+
password);
68+
6169
String jdbcUrl = String.format("jdbc:mysql://%s:%s/test?useSSL=false", host, port);
6270

6371
Properties props = new Properties();
@@ -68,7 +76,7 @@ public void testOceanBaseCE(
6876

6977
Driver driver = Utils.getDriver(useLegacyDriver);
7078
try (Connection conn = driver.connect(jdbcUrl, props)) {
71-
LOG.info("Connected to OceanBase CE successfully.");
79+
LOG.info("Connected to OceanBase CE successfully");
7280

7381
LOG.info("Version comment: {}", Utils.getVersionComment(conn));
7482

0 commit comments

Comments
 (0)