NihalJain commented on code in PR #7545:
URL: https://github.com/apache/hbase/pull/7545#discussion_r2625595220
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMasterStatusPage.java:
##########
@@ -108,7 +106,9 @@ public void testMasterStatusPage() throws Exception {
createTestTables(master);
- String page = getMasterStatusPageContent();
+ URL url =
+ new URL(TestServerHttpUtils.getMasterInfoServerHostAndPort(CLUSTER) +
"/master-status");
Review Comment:
can we have getMasterStatusPageContent in TestServerHttpUtils. Similar
methods for other pages to avoid building the raw url for each page each time?
--
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]