• Andy Wilkinson's avatar
    Update test as response may be received before server has deleted file · 914b3588
    Andy Wilkinson authored
    Previously, the heap dump endpoint test asserted that the temporary
    heap dump file had been deleted as soon as the client received a
    response. This led to intermittent test failures as the input
    stream is closed after its contents have been sent to the client,
    creating a race condition between the client receiving the response
    and then asserting that the file had been deleted and the server
    close the input stream and deleting the temporary file.
    
    This commit updates the test so that, after receiving the response, it
    will wait for up to 5 seconds for the server to have deleted the
    temporary heap dump file.
    914b3588
Name
Last commit
Last update
.github Loading commit data...
.mvn 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-deployment-tests Loading commit data...
spring-boot-devtools 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-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...