Documentation of 'org.hsqldb.test.TestHTTPKeepAlive' Java class
TestHTTPKeepAlive
org.hsqldb.test

Class TestHTTPKeepAlive

  • All Implemented Interfaces:
    junit.framework.Test


    public class TestHTTPKeepAlive
    extends TestBase
    This tests simply executes more than 2^16 times a 'SELECT *' on a 2-row table. If no Keep-Alive is used your OS will run out of ports for connections being repeatedly opened for each SELECT that is executed. If Keep-Alive is being used, this test will complete in a about 5 seconds on an ivy-bridge class machine
    • Constructor Summary

      Constructors 
      Constructor and Description
      TestHTTPKeepAlive(java.lang.String name) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] argv) 
      void testKeepAlive() 
      • Methods inherited from class junit.framework.TestCase

        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, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestHTTPKeepAlive

        public TestHTTPKeepAlive(java.lang.String name)
    • Method Detail

      • testKeepAlive

        public void testKeepAlive()
      • main

        public static void main(java.lang.String[] argv)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.