• Andy Wilkinson's avatar
    Fix hang caused by race condition in test for reset of kept-alive connection · 86e6ec04
    Andy Wilkinson authored
    Previously, a race between the server starting to reject requests
    on a kept-alive connection and the request reaching the blocking
    servlet could result in a response never being sent.
    
    This commit updates the test to disable blocking once graceful
    shutdown with an in-flight request has being. Awaitility is then used
    to make a request on an idle kept-alive connection until it fails
    due to the connection reset. This may not happen immediately due to
    the aforementioned race.
    86e6ec04
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore 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...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...