public class TestIncrementsFromClientSide extends Object
HTable.
Test is parameterized to run the slow and fast increment code paths. If fast, in the @before, we
do a rolling restart of the single regionserver so that it can pick up the go fast configuration.
Doing it this way should be faster than starting/stopping a cluster per test.
Test takes a long time because spin up a cluster between each run -- ugh.| Modifier and Type | Field and Description |
|---|---|
TestName |
name |
protected static int |
SLAVES |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestIncrementsFromClientSide() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
static void |
beforeClass() |
static Collection<Object[]> |
data() |
static String |
filterStringSoTableNameSafe(String str) |
void |
testIncrement() |
void |
testIncrementingInvalidValue() |
void |
testIncrementInvalidArguments() |
void |
testIncrementOnSameColumn() |
void |
testIncrementOutOfOrder() |
void |
testIncrementWithDeletes() |
protected static final HBaseTestingUtility TEST_UTIL
protected static int SLAVES
public TestName name
public static Collection<Object[]> data()
public void testIncrementingInvalidValue()
throws Exception
Exceptionpublic void testIncrementInvalidArguments()
throws Exception
Exceptionpublic void testIncrementOnSameColumn()
throws Exception
Exception