narendly commented on a change in pull request #844: Implement setRoutingData
for MetadataStoreDirectoryService
URL: https://github.com/apache/helix/pull/844#discussion_r386767760
##########
File path:
helix-rest/src/test/java/org/apache/helix/rest/metadatastore/accessor/TestZkRoutingDataWriter.java
##########
@@ -132,61 +132,86 @@ public void testSetRoutingData() {
public void testAddMetadataStoreRealmNonLeader() {
MockWriter mockWriter = new MockWriter(DUMMY_NAMESPACE, ZK_ADDR);
mockWriter.addMetadataStoreRealm(DUMMY_REALM);
- Assert.assertEquals("PUT", mockWriter.calledRequest.getMethod());
+ Assert.assertEquals(mockWriter.calledRequest.getMethod(), "PUT");
Review comment:
Could we use a pre-defined constant instead of "PUT"? (Cue: HttpVerbs..)
Same applies below.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]