Ivan A. Veselovsky created HADOOP-9143:
------------------------------------------

             Summary: repair test 
org.apache.hadoop.fs.http.server.TestHttpFSWithKerberos
                 Key: HADOOP-9143
                 URL: https://issues.apache.org/jira/browse/HADOOP-9143
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Ivan A. Veselovsky
            Assignee: Ivan A. Veselovsky


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

Reply via email to