boost icon indicating copy to clipboard operation
boost copied to clipboard

Propagate http endpoint properties to integration tests

Open awisniew90 opened this issue 6 years ago • 0 comments

There is currently no way to propagate boost properties (like boost.http.port) to integration tests. Typically, integration tests use system properties to read values like server ports, and boost properties are only set as system properties if they are configured as -D overrides during maven execution (i.e. mvn clean package -Dboost.http.port=9081). Default boost properties, or properties set in boost.properties are not set as system properties and therefore are not readable by integration tests.

One solution for this is to set all boost properties as system properties during boost execution. We could also add a .sysprop boolean property for each property that can be set to false to skip setting that particular property as system property.

awisniew90 avatar Mar 30 '19 00:03 awisniew90