HDFS-8412. Fix the test failures in HTTPFS: In some tests setReplication called after fs close. Contributed by Uma Maheswara Rao G.

This commit is contained in:
Uma Maheswara Rao G 2015-05-18 19:35:53 +05:30
parent 363c35541d
commit a6af0248e9
2 changed files with 3 additions and 1 deletions

View File

@ -465,8 +465,8 @@ private void testSetReplication() throws Exception {
OutputStream os = fs.create(path); OutputStream os = fs.create(path);
os.write(1); os.write(1);
os.close(); os.close();
fs.close();
fs.setReplication(path, (short) 2); fs.setReplication(path, (short) 2);
fs.close();
fs = getHttpFSFileSystem(); fs = getHttpFSFileSystem();
fs.setReplication(path, (short) 1); fs.setReplication(path, (short) 1);

View File

@ -332,6 +332,8 @@ Trunk (Unreleased)
HDFS-8332. DFS client API calls should check filesystem closed (Rakesh R via umamahesh) HDFS-8332. DFS client API calls should check filesystem closed (Rakesh R via umamahesh)
HDFS-8412. Fix the test failures in HTTPFS. (umamahesh)
Release 2.8.0 - UNRELEASED Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES