diff --git a/server/odc-test/src/main/java/com/oceanbase/odc/test/database/TestDBConfigurations.java b/server/odc-test/src/main/java/com/oceanbase/odc/test/database/TestDBConfigurations.java index a901a84579..e64fa72fb0 100644 --- a/server/odc-test/src/main/java/com/oceanbase/odc/test/database/TestDBConfigurations.java +++ b/server/odc-test/src/main/java/com/oceanbase/odc/test/database/TestDBConfigurations.java @@ -135,7 +135,7 @@ private void createTestDatabasesAndUpdateConfig() { v.setDataSource(newSource); } } catch (Exception e) { - log.error("create test database/user failed, connectType={}, testConfiguration={}", k, v, e); + log.error("create test database/user failed, connectType={}", k, e); throw new RuntimeException("create test database/user failed", e); } }); @@ -163,7 +163,7 @@ private void dropTestDatabases() { log.info("drop test database for mysql mode, database name: {}", database); } } catch (Exception e) { - log.warn("drop test database/user failed, connectType={}, testConfiguration={}", k, v, e); + log.warn("drop test database/user failed, may the user is not exists, connectType={}", k); } }); log.info("drop test database/user done");