File tree Expand file tree Collapse file tree
src/test/groovy/org/prebid/server/functional/testcontainers/container Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ class PrebidServerContainer extends GenericContainer<PrebidServerContainer> {
1313
1414 public static final String ADMIN_ENDPOINT_USERNAME = " admin"
1515 public static final String ADMIN_ENDPOINT_PASSWORD = " admin"
16+ public static final String APP_WORKDIR = " /app/prebid-server/"
1617
1718 private static final int PROMETHEUS_PORT = 8070
1819 private static final int DEFAULT_PORT = 8080
1920 private static final int DEFAULT_ADMIN_PORT = 8060
2021 private static final int DEFAULT_DEBUG_PORT = 8000
21- private static final String APP_WORKDIR = " /app/prebid-server/"
2222 private static final int PORT = SystemProperties . getPropertyOrDefault(" port" , DEFAULT_PORT )
2323 private static final int ADMIN_PORT = SystemProperties . getPropertyOrDefault(" admin.port" , DEFAULT_ADMIN_PORT )
2424 private static final int DEBUG_PORT = SystemProperties . getPropertyOrDefault(" debug.port" , DEFAULT_DEBUG_PORT )
@@ -31,8 +31,8 @@ class PrebidServerContainer extends GenericContainer<PrebidServerContainer> {
3131 withFixedPorts()
3232 withStartupAttempts(3 )
3333 waitingFor(Wait . forHttp(" /status" )
34- .forPort(PORT )
35- .forStatusCode(200 ))
34+ .forPort(PORT )
35+ .forStatusCode(200 ))
3636 withDebug()
3737 withNetwork(Dependencies . network)
3838 def commonConfig = [:] << DEFAULT_ENV
You can’t perform that action at this time.
0 commit comments