@@ -164,7 +164,7 @@ void asyncAggregatedRequester(HttpRequester requester, boolean multiAddressClien
164
164
assertRejected (firstConcurrent );
165
165
assertRejected (secondConcurrent );
166
166
responseProcessor .onComplete ();
167
- assertAggregatedResponse (first .get (), OK );
167
+ assertAggregatedEmptyResponse (first .get (), OK );
168
168
169
169
assertSequential (multiAddressClient , request , firstSingle );
170
170
assertSequential (multiAddressClient , request , requester .request (request ));
@@ -247,7 +247,7 @@ void blockingAggregatedRequester(BlockingHttpRequester requester, boolean multiA
247
247
assertRejected (firstConcurrent );
248
248
assertRejected (secondConcurrent );
249
249
responseProcessor .onComplete ();
250
- assertAggregatedResponse (first .get (), OK );
250
+ assertAggregatedEmptyResponse (first .get (), OK );
251
251
252
252
assertSequential (multiAddressClient , request , firstSingle );
253
253
assertSequential (multiAddressClient , request ,
@@ -280,13 +280,13 @@ private void assertSequential(boolean multiAddressClient, HttpRequestMetaData re
280
280
if (response instanceof StreamingHttpResponse ) {
281
281
assertResponse ((StreamingHttpResponse ) response , HTTP_1_1 , NO_CONTENT , 0 );
282
282
} else if (response instanceof HttpResponse ) {
283
- assertAggregatedResponse ((HttpResponse ) response , NO_CONTENT );
283
+ assertAggregatedEmptyResponse ((HttpResponse ) response , NO_CONTENT );
284
284
} else {
285
285
throw new AssertionError ("Unexpected response type: " + response .getClass ());
286
286
}
287
287
}
288
288
289
- private static void assertAggregatedResponse (HttpResponse response , HttpResponseStatus status ) {
289
+ private static void assertAggregatedEmptyResponse (HttpResponse response , HttpResponseStatus status ) {
290
290
assertResponse (response , HTTP_1_1 , status );
291
291
assertThat (response .payloadBody (), is (EMPTY_BUFFER ));
292
292
}
0 commit comments