summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2018-12-11 12:39:11 +0100
committersebdet <sebastien.determe@intl.att.com>2018-12-11 12:39:11 +0100
commita664994195fe5af803c2d9ceb0a8b79bca21d426 (patch)
treefd52f15721738895e5d1005c183a2bda7d18c116 /src/test/resources
parent9d1f89cff526052bd28a24d4ac33b1fd54d76983 (diff)
Fix concurrent build
Fix concurrent build issue that may occur and generate random ports automatically in the build Issue-ID: CLAMP-252 Change-Id: If1b67a3a03fea52971b494621a4ba3ba44ee6a01 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/application.properties2
-rw-r--r--src/test/resources/https/https-test.properties2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties
index 8d6cd384e..7116940f8 100644
--- a/src/test/resources/application.properties
+++ b/src/test/resources/application.properties
@@ -30,7 +30,7 @@ info.build.version=@project.version@
### (See below for the parameter 'server.http.port' if you want to have both enabled)
### To have only HTTP, keep the lines server.ssl.* commented
### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location
-server.port=8080
+server.port=${clamp.it.tests.http}
### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')
#server.ssl.key-store=file:/tmp/mykey.jks
#server.ssl.key-store-password=pass
diff --git a/src/test/resources/https/https-test.properties b/src/test/resources/https/https-test.properties
index e15ea6edc..34b7222e4 100644
--- a/src/test/resources/https/https-test.properties
+++ b/src/test/resources/https/https-test.properties
@@ -25,7 +25,7 @@
### (See below for the parameter 'server.http.port' if you want to have both enabled)
### To have only HTTP, keep the lines server.ssl.* commented
### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location
-server.port=10443
+server.port=${clamp.it.tests.https}
### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')
server.ssl.key-store=classpath:https/keystore-test.jks
server.ssl.key-store-password=testpass