• Andy Wilkinson's avatar
    Avoid race between file creation and its contents being written · f10c9b53
    Andy Wilkinson authored
    Previously, SampleIntegrationParentApplicationTests assumed that when
    an output file existed on disk its contents would have been written
    in their entirety. This assumption does not hold true and causes the
    test to fail intermittently as it incorrectly determines that the test
    has produced no output.
    
    This commit updates the test to wait for up to 30 seconds for the
    output files to appear on disk and for the expected content to be
    found in one of those files. If the files exist but do not
    contain the expected content the test will keep trying until it does
    or until too much time as elapsed.
    
    Fixes gh-2380
    f10c9b53
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-elasticsearch Loading commit data...
spring-boot-sample-data-gemfire 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-data-solr Loading commit data...
spring-boot-sample-flyway Loading commit data...
spring-boot-sample-hateoas Loading commit data...
spring-boot-sample-hornetq Loading commit data...
spring-boot-sample-integration Loading commit data...
spring-boot-sample-jetty Loading commit data...
spring-boot-sample-liquibase Loading commit data...
spring-boot-sample-parent-context 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-tomcat-ssl Loading commit data...
spring-boot-sample-tomcat8-jsp Loading commit data...
spring-boot-sample-traditional Loading commit data...
spring-boot-sample-velocity Loading commit data...
spring-boot-sample-web-freemarker Loading commit data...
spring-boot-sample-web-groovy-templates 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-secure-custom Loading commit data...
spring-boot-sample-web-secure-jdbc Loading commit data...
spring-boot-sample-web-static Loading commit data...
spring-boot-sample-web-ui Loading commit data...
spring-boot-sample-web-velocity Loading commit data...
spring-boot-sample-websocket Loading commit data...
spring-boot-sample-ws Loading commit data...
spring-boot-sample-xml Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...