Trying to make tests less flakey

This commit is contained in:
Marcin Grzejszczak
2018-01-20 22:58:40 +01:00
parent 053b87ce01
commit c40b3e2528

View File

@@ -50,8 +50,8 @@ public class TraceWebFluxTests {
Awaitility.await().untilAsserted(() -> {
ClientResponse response = exchange.block();
then(response.statusCode().value()).isEqualTo(200);
then(accumulator.getSpans()).hasSize(1);
});
then(accumulator.getSpans()).hasSize(1);
then(accumulator.getSpans().get(0).tags())
.containsEntry("mvc.controller.method", "successful")
.containsEntry("mvc.controller.class", "Controller2");