org.mule.transport.tcp.other
Class SocketTimingExperimentTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.transport.tcp.other.SocketTimingExperimentTestCase

public class SocketTimingExperimentTestCase
extends AbstractMuleTestCase

This was an attempt to understand the issue we saw with HTTP closing early. Unfortunately, it doesn't shed any light on the problem.


Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
SocketTimingExperimentTestCase()
           
 
Method Summary
protected  boolean badSend(Socket from, Socket to, ServerSocket server)
           
protected  boolean expectBadClient()
           
protected  boolean expectBadClientSingle()
           
protected  boolean expectBadServer()
           
protected  boolean expectBadServerSingle()
           
 void testSocketTiming()
           
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketTimingExperimentTestCase

public SocketTimingExperimentTestCase()
Method Detail

testSocketTiming

public void testSocketTiming()
                      throws IOException,
                             InterruptedException
Throws:
IOException
InterruptedException

expectBadClient

protected boolean expectBadClient()
                           throws IOException,
                                  InterruptedException
Throws:
IOException
InterruptedException

expectBadClientSingle

protected boolean expectBadClientSingle()
                                 throws IOException,
                                        InterruptedException
Throws:
IOException
InterruptedException

badSend

protected boolean badSend(Socket from,
                          Socket to,
                          ServerSocket server)
                   throws IOException,
                          InterruptedException
Throws:
IOException
InterruptedException

expectBadServer

protected boolean expectBadServer()
                           throws IOException,
                                  InterruptedException
Throws:
IOException
InterruptedException

expectBadServerSingle

protected boolean expectBadServerSingle()
                                 throws IOException,
                                        InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.