public class TestRecoverLeaseFSUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
TestRecoverLeaseFSUtils.IsFileClosedDistributedFileSystem
Version of DFS that has HDFS-4525 in it.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.fs.Path |
FILE |
private static HBaseCommonTestingUtility |
HTU |
| Constructor and Description |
|---|
TestRecoverLeaseFSUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
testIsFileClosed()
Test that isFileClosed makes us recover lease faster.
|
void |
testRecoverLease()
Test recover lease eventually succeeding.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseCommonTestingUtility HTU
private static org.apache.hadoop.fs.Path FILE
public TestRecoverLeaseFSUtils()
public void testRecoverLease() throws IOException
IOExceptionpublic void testIsFileClosed() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.