• Dave Syer's avatar
    Support for random ports in @IntegrationTest · 559009b8
    Dave Syer authored
    User can now set up default properties in the Environment using
    @IntegrationTest("foo:bar", "x:y") etc. Using "server.port:0" you
    can get Tomcat or Jetty to spin up on a random port. We also add
    a test listener that populates "local.server.port" with the actual
    port the server started on so you can @Value("${local.server.port}")
    inject it into the test case.
    
    See gh-607 (this should make the extension of that PR to samples
    much easier)
    559009b8
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...