Skip to content

Commit 396d471

Browse files
committed
HBASE-29223 Extended TestInfoServers.testInfoServersRedirect
so that we test that `/master-status` redirects to `/master.jsp`.
1 parent 886f88b commit 396d471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/TestInfoServers.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public void testInfoServersRedirect() throws Exception {
9494
UTIL.getConnection().getTable(TableName.META_TABLE_NAME).close();
9595
int port = UTIL.getHBaseCluster().getMaster().getInfoServer().getPort();
9696
assertContainsContent(new URL("http://localhost:" + port + "/index.html"), "master.jsp");
97+
assertContainsContent(new URL("http://localhost:" + port + "/master-status"), "master.jsp");
9798
port = UTIL.getHBaseCluster().getRegionServerThreads().get(0).getRegionServer().getInfoServer()
9899
.getPort();
99100
assertContainsContent(new URL("http://localhost:" + port + "/index.html"), "rs-status");

0 commit comments

Comments
 (0)