• Andy Wilkinson's avatar
    Protect against race condition where output file exists but it is empty · 160d609b
    Andy Wilkinson authored
    Previously, there was a timing window where the output file had been
    created but it was empty. This would cause the test to fail as the
    output was read from the empty file and didn’t match the expected “Hello
    World”.
    
    This commit updates the test to only process the resources in the output
    directory when all the resolved resources have a non-zero content
    length. An @Before method has also been added to delete the output
    produced by the test so that the outcome of the test isn’t affected by
    files generated by previous runs.
    
    Fixes gh-1735
    160d609b
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...
spring-boot-versions 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...