[ https://issues.apache.org/jira/browse/HDFS-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809317#comment-13809317 ]
Ivan A. Veselovsky commented on HDFS-4311: ------------------------------------------ Huge number of new javac warnings caused by junit.framework.Assert, which is deprecated in JUnit 4.11. > 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 > Affects Versions: 3.0.0, 2.0.3-alpha > Reporter: Ivan A. Veselovsky > Assignee: Ivan A. Veselovsky > Attachments: HDFS-4311--N1.patch, HDFS-4311--N2.patch, > HDFS-4311--N3.patch, HDFS-4311--N4.patch, HDFS-4311--N5.patch, 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 was sent by Atlassian JIRA (v6.1#6144)