xvrl commented on a change in pull request #12032:
URL: https://github.com/apache/druid/pull/12032#discussion_r768188198



##########
File path: 
core/src/test/java/org/apache/druid/java/util/http/client/FriendlyServersTest.java
##########
@@ -241,9 +201,42 @@ public void run()
               StatusResponseHandler.getInstance()
           ).get();
 
-      Assert.assertEquals(200, response.getStatus().getCode());
+      Assert.assertEquals(200, response.getStatus().code());
+      Assert.assertEquals("hello!", response.getContent());
+      Assert.assertEquals("accept-encoding: identity", 
foundAcceptEncoding.get());
+    }
+    finally {
+      exec.shutdownNow();
+      serverSocket.close();
+      lifecycle.stop();
+    }
+  }
+
+  @Test
+  public void testCompressionCodecHeader() throws Exception

Review comment:
       test added to satisfy code coverage checks

##########
File path: 
core/src/test/java/org/apache/druid/java/util/http/client/FriendlyServersTest.java
##########
@@ -252,6 +245,39 @@ public void run()
     }
   }
 
+  @Nonnull
+  private AtomicReference<String> acceptEncodingServer(ExecutorService exec, 
ServerSocket serverSocket)

Review comment:
       test added to satisfy code coverage checks




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to