public class TestProcedureFuture extends Object
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 void testWithProcId() throws Exception
Exception
public void testWithProcIdAndSpinning() throws Exception
Exception
public void testWithoutProcId() throws Exception
Exception
public void testOnServerWithNoProcedureSupport() throws Exception
Exception