• Andy Wilkinson's avatar
    Ignore temporary .writing files when finding output files · c346e996
    Andy Wilkinson authored
    Spring Integration's FileWritingMessageHandler uses a .writing file
    while it's in the process of writing a message to disk and then
    performs a rename (depending on the OS and filesystem this may or may
    not be atommic) to create the .msg file. Prior to this commit the
    test was finding the temporary .writing files and examining them. This
    could lead to a FileNotFoundException being thrown as the temporary
    file was deleted while the test was trying to read its contents.
    
    This commit updates the test to only look for files with a .msg suffix
    
    Fixes gh-2428
    c346e996
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...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...