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

Run WireMock with the Disable Banner flag by default #31

Closed
oleg-nenashev opened this issue Apr 30, 2023 · 0 comments
Closed

Run WireMock with the Disable Banner flag by default #31

oleg-nenashev opened this issue Apr 30, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@oleg-nenashev
Copy link
Member

Proposal

The WireMock banner in the test outputs is a bit annoying, and it consumes space. It would be nice to run with --disable-banner by default, unless the user explicitly disables it for some testing purposes.

[INFO] [INFO] Running org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest
[INFO] 18:54:05.825 [main] INFO  tc.wiremock/wiremock:2.35.0 - Creating container for image: wiremock/wiremock:2.35.0
[INFO] 18:54:06.018 [main] INFO  tc.wiremock/wiremock:2.35.0 - Container wiremock/wiremock:2.35.0 is starting: 6dd69ce922e8dbdb3c8ba50791baf6a60b9730eb14e5494ecafe367105171c71
[INFO] 18:54:06.250 [main] INFO  org.testcontainers.containers.wait.strategy.HttpWaitStrategy - /happy_williamson: Waiting for 60 seconds for URL: http://localhost:32771/__admin/mappings (where port 32771 maps to container port 8080)
[INFO] 18:54:07.660 [main] INFO  tc.wiremock/wiremock:2.35.0 - Container wiremock/wiremock:2.35.0 started in PT1.834923S
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT:  /$$      /$$ /$$                     /$$      /$$                     /$$      
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: | $$  /$ | $$|__/                    | $$$    /$$$                    | $$      
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: | $$ /$$$| $$ /$$  /$$$$$$   /$$$$$$ | $$$$  /$$$$  /$$$$$$   /$$$$$$$| $$   /$$
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: | $$/$$ $$ $$| $$ /$$__  $$ /$$__  $$| $$ $$/$$ $$ /$$__  $$ /$$_____/| $$  /$$/
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: | $$$$_  $$$$| $$| $$  \__/| $$$$$$$$| $$  $$$| $$| $$  \ $$| $$      | $$$$$$/ 
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: | $$$/ \  $$$| $$| $$      | $$_____/| $$\  $ | $$| $$  | $$| $$      | $$_  $$ 
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: | $$/   \  $$| $$| $$      |  $$$$$$$| $$ \/  | $$|  $$$$$$/|  $$$$$$$| $$ \  $$
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: |__/     \__/|__/|__/       \_______/|__/     |__/ \______/  \_______/|__/  \__/
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: 
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: port:                         8080
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: enable-browser-proxying:      false
[INFO] 18:54:07.664 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: disable-banner:               false
[INFO] 18:54:07.665 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: no-request-journal:           false
[INFO] 18:54:07.665 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: verbose:                      false
[INFO] 18:54:07.665 [docker-java-stream--2007654971] INFO  org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest - STDOUT: 
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.[137](https://github.com/wiremock/wiremock-testcontainers-java/actions/runs/4845893817/jobs/8635085849#step:6:138) s - in org.wiremock.integrations.testcontainers.WireMockContainerExtensionTest

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant