public class TestScanner
extends java.lang.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 java.lang.Exception
java.lang.Exceptionpublic void testFilters()
throws java.io.IOException
java.io.IOExceptionpublic void testRaceBetweenClientAndTimeout()
throws java.lang.Exception
java.lang.Exceptionpublic void testScanner()
throws java.io.IOException
java.io.IOExceptionpublic void testScanAndSyncFlush()
throws java.lang.Exception
java.lang.Exceptionpublic void testScanAndRealConcurrentFlush()
throws java.lang.Exception
java.lang.Exceptionpublic void testScanAndConcurrentMajorCompact()
throws java.lang.Exception
java.lang.Exception