Skip to content

Commit

Permalink
Disable random port usage in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand authored and gsmet committed Sep 7, 2020
1 parent 180b01f commit f80a389
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit f80a389

Please sign in to comment.