spring-boot/spring-boot-project
Andy Wilkinson b9516bc77c Await registration of http.server.requests meter
Previously, the test would make an HTTP request and, as soon as the
response was received, it would check the presence and value of the
http.server.requests meter. This create a race condition between the
meter being registered once the response had been flushed and the
meter's presence being checked. If the check won the race, the test
would fail.

This commit updates the test to wait for up to 5 seconds for the
meter to be present and have a count of 1, matching the single request
that has been made.

Fixes gh-23919
2020-10-27 15:54:22 +00:00
..
spring-boot Register shutdown hook so it can tidy up a partial refresh 2020-10-19 09:16:07 +01:00
spring-boot-actuator Merge branch '2.1.x' into 2.2.x 2020-09-21 23:19:41 -07:00
spring-boot-actuator-autoconfigure Await registration of http.server.requests meter 2020-10-27 15:54:22 +00:00
spring-boot-autoconfigure Stop using PostConstruct to default session timeout to ServerProperties' 2020-10-19 14:31:01 +01:00
spring-boot-cli
spring-boot-dependencies Upgrade to Spring Framework 5.2.10 2020-10-27 15:48:17 +01:00
spring-boot-devtools
spring-boot-docs Document how to configure h2c protocol 2020-10-22 20:04:35 +02:00
spring-boot-parent
spring-boot-properties-migrator
spring-boot-starters
spring-boot-test Simplify temp directory creation and improve diagnostics 2020-10-13 11:18:06 +01:00
spring-boot-test-autoconfigure Add HttpEncodingAutoConfiguration to WebMvcTest 2020-10-22 20:02:45 +02:00
spring-boot-tools Expand Gradle plugin's docs on setting bootRun's system properties 2020-10-06 14:35:30 +01:00
pom.xml