public class TestHASendAndReceive extends AbstractHASendAndReceiveTestCase
HASendService
and
HAReceiveService
.TestCase2.MyProperties, TestCase2.RandomType
chk
_randomType, log
Constructor and Description |
---|
TestHASendAndReceive() |
TestHASendAndReceive(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testSimpleExchange()
Should we expect concurrency of the Socket send and RMI? It seems that we
should be able to handle it whatever the logical argument.
|
void |
testStress()
Sends a large number of random buffers, confirming successful
transmission.
|
void |
testStressDirectBuffers()
Sends a large number of random buffers, confirming successful
transmission.
|
newHAWriteMessage, newHAWriteMessage
assertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomData
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestHASendAndReceive()
public TestHASendAndReceive(String name)
protected void setUp() throws Exception
setUp
in class AbstractHASendAndReceiveTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractHASendAndReceiveTestCase
Exception
public void testSimpleExchange() throws InterruptedException, ExecutionException, TimeoutException, ImmediateDownstreamReplicationException
public void testStress() throws TimeoutException, InterruptedException, ExecutionException, ImmediateDownstreamReplicationException
public void testStressDirectBuffers() throws InterruptedException
InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.