public class TestScanner extends Object
| Modifier and Type | Field and Description |
|---|---|
TestName |
name |
static HRegionInfo |
REGION_INFO
HRegionInfo for root region
|
| Constructor and Description |
|---|
TestScanner() |
| Modifier and Type | Method and Description |
|---|---|
void |
testFilters() |
void |
testRaceBetweenClientAndTimeout()
Test that closing a scanner while a client is using it doesn't throw
NPEs but instead a UnknownScannerException.
|
void |
testScanAndConcurrentMajorCompact()
Make sure scanner returns correct result when we run a major compaction
with deletes.
|
void |
testScanAndRealConcurrentFlush()
Tests to do a concurrent flush (using a 2nd thread) while scanning.
|
void |
testScanAndSyncFlush()
Tests to do a sync flush during the middle of a scan.
|
void |
testScanner()
The test!
|
void |
testStopRow()
Test basic stop row filter works.
|
public TestName name
public static final HRegionInfo REGION_INFO
public void testStopRow()
throws Exception
Exceptionpublic void testFilters()
throws IOException
IOExceptionpublic void testRaceBetweenClientAndTimeout()
throws Exception
Exceptionpublic void testScanner()
throws IOException
IOExceptionpublic void testScanAndSyncFlush()
throws Exception
Exceptionpublic void testScanAndRealConcurrentFlush()
throws Exception
Exception