• 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
..
spring-boot-sample-actuator Loading commit data...
spring-boot-sample-actuator-log4j Loading commit data...
spring-boot-sample-actuator-noweb Loading commit data...
spring-boot-sample-actuator-ui Loading commit data...
spring-boot-sample-amqp Loading commit data...
spring-boot-sample-aop Loading commit data...
spring-boot-sample-batch Loading commit data...
spring-boot-sample-data-jpa Loading commit data...
spring-boot-sample-data-mongodb Loading commit data...
spring-boot-sample-data-redis Loading commit data...
spring-boot-sample-data-rest Loading commit data...
spring-boot-sample-integration Loading commit data...
spring-boot-sample-jetty Loading commit data...
spring-boot-sample-profile Loading commit data...
spring-boot-sample-secure Loading commit data...
spring-boot-sample-servlet Loading commit data...
spring-boot-sample-simple Loading commit data...
spring-boot-sample-tomcat Loading commit data...
spring-boot-sample-tomcat-multi-connectors Loading commit data...
spring-boot-sample-traditional Loading commit data...
spring-boot-sample-web-jsp Loading commit data...
spring-boot-sample-web-method-security Loading commit data...
spring-boot-sample-web-secure Loading commit data...
spring-boot-sample-web-static Loading commit data...
spring-boot-sample-web-ui Loading commit data...
spring-boot-sample-websocket Loading commit data...
spring-boot-sample-xml Loading commit data...
pom.xml Loading commit data...