[
https://issues.apache.org/jira/browse/HDFS-7880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356838#comment-14356838
]
Akira AJISAKA commented on HDFS-7880:
-------------------------------------
Thanks [~brahmareddy] for creating the patch. The patch seems to remove the
tests which are not related to legacy Web UI. Would you please refer the patch
for trunk uploaded to HDFS-6252? For TestJournalNode.java, removing the
following code is sufficient.
{code}
// Check JSP page.
pageContents = DFSTestUtil.urlGet(
new URL(urlRoot + "/journalstatus.jsp"));
assertTrue(pageContents.contains("JournalNode"));
{code}
> Remove the tests for legacy Web UI in branch-2
> ----------------------------------------------
>
> Key: HDFS-7880
> URL: https://issues.apache.org/jira/browse/HDFS-7880
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.7.0
> Reporter: Akira AJISAKA
> Assignee: Brahma Reddy Battula
> Priority: Blocker
> Attachments: HDFS-7880.patch
>
>
> These tests fails in branch-2 because the test assert that legacy UI exists.
> * TestJournalNode.testHttpServer:174 expected:<200> but was:<404>
> * TestNNWithQJM.testWebPageHasQjmInfo:229 expected:<200> but was:<404>
> * TestHAWebUI.testLinkAndClusterSummary:50 expected:<200> but was:<404>
> * TestHostsFiles.testHostsExcludeDfshealthJsp:130 expected:<200> but was:<404>
> * TestSecondaryWebUi.testSecondaryWebUiJsp:87 expected:<200> but was:<404>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)