fix: removing erroneous warnings (#33977)

closes: #33638

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins 2024-10-16 09:47:51 -04:00 committed by GitHub
parent 61fffce4f5
commit 795b90a8eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -476,7 +476,7 @@ public class Picocli {
ignoredBuildTime.add(key); ignoredBuildTime.add(key);
} }
} }
} else if (!buildTimeOption) { } else if (!options.includeRuntime && !buildTimeOption) {
ignoredRunTime.add(key); ignoredRunTime.add(key);
} }
} }

View file

@ -133,6 +133,7 @@ public class StartCommandDistTest {
@Launch({ "start", "--http-enabled=true", "--hostname-strict=false", "--metrics-enabled=true" }) @Launch({ "start", "--http-enabled=true", "--hostname-strict=false", "--metrics-enabled=true" })
void testStartUsingAutoBuild(LaunchResult result) { void testStartUsingAutoBuild(LaunchResult result) {
CLIResult cliResult = (CLIResult) result; CLIResult cliResult = (CLIResult) result;
cliResult.assertNoMessage("ignored during build");
cliResult.assertMessage("Changes detected in configuration. Updating the server image."); cliResult.assertMessage("Changes detected in configuration. Updating the server image.");
cliResult.assertMessage("Updating the configuration and installing your custom providers, if any. Please wait."); cliResult.assertMessage("Updating the configuration and installing your custom providers, if any. Please wait.");
cliResult.assertMessage("Server configuration updated and persisted. Run the following command to review the configuration:"); cliResult.assertMessage("Server configuration updated and persisted. Run the following command to review the configuration:");