gaozhangmin commented on code in PR #3679:
URL: https://github.com/apache/bookkeeper/pull/3679#discussion_r1136566569


##########
bookkeeper-server/src/test/java/org/apache/bookkeeper/server/http/TestHttpService.java:
##########
@@ -832,6 +833,7 @@ public void testGCDetailsService() throws Exception {
         HttpServiceRequest request1 = new HttpServiceRequest(null, 
HttpServer.Method.GET, null);
         HttpServiceResponse response1 = gcDetailsService.handle(request1);
         assertEquals(HttpServer.StatusCode.OK.getValue(), 
response1.getStatusCode());
+        assertTrue(JsonUtil.fromJson(response1.getBody(), 
List.class).get(0).toString().contains("ledgerDir"));

Review Comment:
   I cannot simply do it here, Now, Bookkeeper use Junit test framework. it 
doesn't have dataProvider. I want upgrade the Junit to TestNG in another pr. I 
will solve this in that pr. @hangc0276 



-- 
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]

Reply via email to