[
https://issues.apache.org/jira/browse/HDFS-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan A. Veselovsky updated HDFS-4311:
-------------------------------------
Attachment: HDFS-4311.patch
> repair test org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos
> -------------------------------------------------------------------
>
> Key: HDFS-4311
> URL: https://issues.apache.org/jira/browse/HDFS-4311
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ivan A. Veselovsky
> Assignee: Ivan A. Veselovsky
> Attachments: HDFS-4311.patch
>
>
> Some of the test cases in this test class are failing because they are
> affected by static state changed by the previous test cases. Namely this is
> the static field org.apache.hadoop.security.UserGroupInformation.loginUser .
> The suggested patch solves this problem.
> Besides, the following improvements are done:
> 1) parametrized the user principal and keytab values via system properties;
> 2) shutdown of the Jetty server and the minicluster between the test cases is
> added to make the test methods independent on each other.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira