public class TestProcedureFuture extends Object
| Modifier and Type | Class and Description | 
|---|---|
| private static class  | TestProcedureFuture.TestFuture | 
| Modifier and Type | Field and Description | 
|---|---|
| static HBaseClassTestRule | CLASS_RULE | 
| Constructor and Description | 
|---|
| TestProcedureFuture() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | testOnServerWithNoProcedureSupport()When a new client with procedure support tries to ask an old-master without proc-support the
 procedure result we get a DoNotRetryIOException (which is an UnsupportedOperationException) The
 future should trap that and fallback to the waitOperationResult(). | 
| void | testWithoutProcId()When a master return a result without procId, we are skipping the getProcedureResult() call. | 
| void | testWithProcId()When a master return a result with procId, we are skipping the waitOperationResult() call,
 since we are getting the procedure result. | 
| void | testWithProcIdAndSpinning()Verify that the spin loop for the procedure running works. | 
public static final HBaseClassTestRule CLASS_RULE
public TestProcedureFuture()
public void testWithProcId() throws Exception
Exceptionpublic void testWithProcIdAndSpinning() throws Exception
Exceptionpublic void testWithoutProcId() throws Exception
Exceptionpublic void testOnServerWithNoProcedureSupport() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.