Bruce Schuchardt created GEODE-5261:
---------------------------------------

             Summary: Add a test for connection-pool prefill during shutdown
                 Key: GEODE-5261
                 URL: https://issues.apache.org/jira/browse/GEODE-5261
             Project: Geode
          Issue Type: Test
          Components: client/server
            Reporter: Bruce Schuchardt


In some performance tests we saw suspect strings with PoolCancelledExceptions 
in GemFire.  This was fixed when GemFire transitioned to open-source but no-one 
added a test to ensure that it behaved properly.  Let's add that test.

{noformat}
com.gemstone.gemfire.distributed.PoolCancelledException: Pool pool is not 
available
        at 
com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.authenticateIfRequired(ConnectionFactoryImpl.java:177)
        at 
com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:139)
        at 
com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:252)
        at 
com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.prefillConnection(ConnectionManagerImpl.java:796)
        at 
com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.prefill(ConnectionManagerImpl.java:739)
        at 
com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl$PrefillConnectionsTask.run2(ConnectionManagerImpl.java:891)
        at 
com.gemstone.gemfire.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1260)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to