dimas-b commented on code in PR #461:
URL: https://github.com/apache/polaris/pull/461#discussion_r1978021995
##########
quarkus/admin/src/test/java/org/apache/polaris/admintool/BootstrapCommandTest.java:
##########
@@ -132,6 +132,45 @@ public void
testBootstrapFromInvalidFile(QuarkusMainLauncher launcher) {
.contains("Bootstrap encountered errors during operation.");
}
+ @Test
+ @Launch(
+ value = {"bootstrap", "-r", "realm1", "-c", "realm1,client1d,s3cr3t",
"--print-credentials"})
+ public void testPrintCredentials(LaunchResult result) {
+ assertThat(result.getOutput()).contains("Bootstrap completed
successfully.");
+ assertThat(result.getOutput()).contains("realm: realm1 root principal
credentials: client1d:");
Review Comment:
TIL. I think this PR is good to merge then, and we'll follow-up on #801
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]