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 Merge branch '2.1.x' into 2.2.x 2020-07-23 11:01:05 +02:00
spring-boot-dependencies Upgrade to Spring Framework 5.2.10 2020-10-27 15:48:17 +01:00
spring-boot-devtools Try to make FileSystemWatcherTests.waitsForQuietPeriod() more robust 2020-08-05 09:00:49 +01:00
spring-boot-docs Document how to configure h2c protocol 2020-10-22 20:04:35 +02:00
spring-boot-parent Upgrade to Testcontainers 1.14.3 2020-08-28 11:57:32 +01:00
spring-boot-properties-migrator Merge branch '2.1.x' 2019-10-02 10:48:57 +01:00
spring-boot-starters Merge branch '2.1.x' into 2.2.x 2020-07-24 11:54:12 +01:00
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 Correct name and description of spring-boot-project module 2019-05-25 08:08:36 +01:00