Merge branch '6.1.x'
This commit is contained in:
@@ -110,7 +110,8 @@ class WebClientObservationTests {
|
||||
StepVerifier.create(client.get().uri("/path").retrieve().bodyToMono(Void.class))
|
||||
.expectError(IllegalStateException.class)
|
||||
.verify(Duration.ofSeconds(5));
|
||||
assertThatHttpObservation().hasLowCardinalityKeyValue("exception", "IllegalStateException")
|
||||
assertThatHttpObservation().hasError()
|
||||
.hasLowCardinalityKeyValue("exception", "IllegalStateException")
|
||||
.hasLowCardinalityKeyValue("status", "CLIENT_ERROR");
|
||||
}
|
||||
|
||||
@@ -172,7 +173,7 @@ class WebClientObservationTests {
|
||||
StepVerifier.create(responseMono)
|
||||
.expectError(IllegalStateException.class)
|
||||
.verify(Duration.ofSeconds(5));
|
||||
assertThatHttpObservation()
|
||||
assertThatHttpObservation().hasError()
|
||||
.hasLowCardinalityKeyValue("exception", "IllegalStateException")
|
||||
.hasLowCardinalityKeyValue("status", "200");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user