|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.transport.tcp.issues.LingerExperimentMule2067TestCase
public class LingerExperimentMule2067TestCase
Are the "address already in use" errors coming from lingering sockets? We see "address already in use" errors when trying to re-use sockets very quickly, but the tests below don't give much information, except that: - data needs to be sent - explicitly setting or disabling the SO_LINGER value has little effect
Nested Class Summary | |
---|---|
protected static class |
LingerExperimentMule2067TestCase.Server
|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary |
---|
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary | |
---|---|
LingerExperimentMule2067TestCase()
|
Method Summary | |
---|---|
protected void |
openCloseClientServer(int numberOfConnections,
int port,
int clientLinger,
int serverLinger)
|
protected void |
openCloseServer(int numberOfSockets,
int port)
|
protected void |
repeatOpenCloseClientServer(int numberOfRepeats,
int numberOfConnections,
int port,
long pause)
|
protected void |
repeatOpenCloseClientServer(int numberOfRepeats,
int numberOfConnections,
int port,
long pause,
int clientLinger)
|
protected void |
repeatOpenCloseClientServer(int numberOfRepeats,
int numberOfConnections,
int port,
long pause,
int clientLinger,
int serverLinger)
|
void |
testHardClose()
|
void |
testInoffensive()
|
void |
testThisShowsTheProblem()
|
void |
testWithClientLinger()
|
void |
testWithServerLinger()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LingerExperimentMule2067TestCase()
Method Detail |
---|
public void testInoffensive() throws java.io.IOException
java.io.IOException
public void testThisShowsTheProblem() throws java.io.IOException
java.io.IOException
public void testWithClientLinger() throws java.io.IOException
java.io.IOException
public void testWithServerLinger() throws java.io.IOException
java.io.IOException
public void testHardClose() throws java.io.IOException
java.io.IOException
protected void openCloseServer(int numberOfSockets, int port) throws java.io.IOException
java.io.IOException
protected void repeatOpenCloseClientServer(int numberOfRepeats, int numberOfConnections, int port, long pause) throws java.io.IOException
java.io.IOException
protected void repeatOpenCloseClientServer(int numberOfRepeats, int numberOfConnections, int port, long pause, int clientLinger) throws java.io.IOException
java.io.IOException
protected void repeatOpenCloseClientServer(int numberOfRepeats, int numberOfConnections, int port, long pause, int clientLinger, int serverLinger) throws java.io.IOException
java.io.IOException
protected void openCloseClientServer(int numberOfConnections, int port, int clientLinger, int serverLinger) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |