HDFS-3715. Fix TestFileCreation#testFileCreationNamenodeRestart. Contributed by Andrew Whang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1376689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f8e1f779b
commit
6885d03501
@ -664,6 +664,9 @@ Branch-2 ( Unreleased changes )
|
||||
HDFS-3835. Long-lived 2NN cannot perform a checkpoint if security is
|
||||
enabled and the NN restarts with outstanding delegation tokens. (atm)
|
||||
|
||||
HDFS-3715. Fix TestFileCreation#testFileCreationNamenodeRestart.
|
||||
(Andrew Whang via eli)
|
||||
|
||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||
|
||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||
|
@ -79,7 +79,6 @@
|
||||
import org.apache.hadoop.test.GenericTestUtils;
|
||||
import org.apache.hadoop.util.Time;
|
||||
import org.apache.log4j.Level;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
@ -585,12 +584,9 @@ public void testFileCreationError3() throws IOException {
|
||||
|
||||
/**
|
||||
* Test that file leases are persisted across namenode restarts.
|
||||
* This test is currently not triggered because more HDFS work is
|
||||
* is needed to handle persistent leases.
|
||||
*/
|
||||
@Ignore
|
||||
@Test
|
||||
public void xxxtestFileCreationNamenodeRestart() throws IOException {
|
||||
public void testFileCreationNamenodeRestart() throws IOException {
|
||||
Configuration conf = new HdfsConfiguration();
|
||||
final int MAX_IDLE_TIME = 2000; // 2s
|
||||
conf.setInt("ipc.client.connection.maxidletime", MAX_IDLE_TIME);
|
||||
|
Loading…
Reference in New Issue
Block a user