• 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
..
src Loading commit data...
build.gradle Loading commit data...
pom.xml Loading commit data...