Always run OSGi HTTP service on random port in itests (#11523)

It is probably always a good idea to run the OSGi HTTP service on a random available port in itests.
So when this is always done it prevents future issues and removes a bit of duplication.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-11-06 10:13:40 +01:00
committed by GitHub
parent 207da1cffc
commit d4510f3fef
6 changed files with 23 additions and 52 deletions

View File

@@ -24,6 +24,10 @@ Import-Package: org.osgi.framework.*;version="[1.8,2)",*
-runfw: org.eclipse.osgi
-runee: JavaSE-11
# An unused random HTTP port is used during tests to prevent resource conflicts
# This property is set by the build-helper-maven-plugin in the itests pom.xml
-runvm: -Dorg.osgi.service.http.port=${org.osgi.service.http.port}
# The integration test itself does not export anything.
Export-Package:
-exportcontents: