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

Disable random port usage in tests #11940

Merged
merged 1 commit into from
Sep 7, 2020
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 @@ -2,8 +2,10 @@ quarkus.security.users.file.enabled=true
quarkus.security.users.file.users=test-users.properties
quarkus.security.users.file.roles=test-roles.properties
quarkus.security.users.file.plain-text=true
quarkus.http.test-port=0
quarkus.http.port=0
# The following random port settings are disabled because they can cause a failure on CI that is entirely unrelated to the PR
# if the chosen port happens to not be available
# quarkus.http.test-port=0
# quarkus.http.port=0

# we add this because we also use @TestSecurity which means that basic auth is disabled by default because @TestSecurity
# contributes TestHttpAuthenticationMechanism
Expand Down