mgao0 commented on a change in pull request #1430:
URL: https://github.com/apache/helix/pull/1430#discussion_r498987635



##########
File path: 
helix-rest/src/test/java/org/apache/helix/rest/server/TestResourceAccessor.java
##########
@@ -162,6 +162,13 @@ public void testExternalView() throws IOException {
     System.out.println("End test :" + TestHelper.getTestMethodName());
   }
 
+  @Test(dependsOnMethods = "testExternalView")
+  public void testCustomizedView() {
+    System.out.println("Start test :" + TestHelper.getTestMethodName());
+    get("clusters/" + CLUSTER_NAME + "/resources/" + RESOURCE_NAME + 
"/customizedView", null,
+        Response.Status.NOT_FOUND.getStatusCode(), true);
+  }
+

Review comment:
       Could you add a test case where the call returns something?




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

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