Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(unit-test): unit test logs expose sensitive information #498

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down Expand Up @@ -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");
Expand Down