Package zipkin2.junit5
Class HttpFailure
java.lang.Object
zipkin2.junit5.HttpFailure
Instrumentation that use 
POST endpoints need to survive failures. Besides simply not
 starting the zipkin server, you can enqueue failures like this to test edge cases. For example,
 that you log a failure when a 400 code is returned.- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpFailureEx a network partition occurs in the middle of the POST requeststatic HttpFailuresendErrorResponse(int code, String body) Ex code 400 when the server cannot read the spans
- 
Method Details- 
disconnectDuringBodyEx a network partition occurs in the middle of the POST request
- 
sendErrorResponseEx code 400 when the server cannot read the spans
 
-