|
@@ -199,7 +199,6 @@ public class TestFileCreation extends junit.framework.TestCase {
|
|
|
assertEquals(SimulatedFSDataset.DEFAULT_CAPACITY-fileSize, dn.getFSDataset().getRemaining());
|
|
|
}
|
|
|
} finally {
|
|
|
- fs.close();
|
|
|
cluster.shutdown();
|
|
|
}
|
|
|
}
|
|
@@ -334,7 +333,6 @@ public class TestFileCreation extends junit.framework.TestCase {
|
|
|
assertTrue("Error blocks were not cleaned up",
|
|
|
locations.locatedBlockCount() == 0);
|
|
|
} finally {
|
|
|
- fs.close();
|
|
|
cluster.shutdown();
|
|
|
client.close();
|
|
|
}
|
|
@@ -583,9 +581,6 @@ public class TestFileCreation extends junit.framework.TestCase {
|
|
|
assertTrue(file1 + " does not exist.", fs.exists(file1));
|
|
|
|
|
|
} finally {
|
|
|
- if (fs != null) {
|
|
|
- fs.close();
|
|
|
- }
|
|
|
cluster.shutdown();
|
|
|
}
|
|
|
}
|