Jens Deppe created GEODE-9537:
---------------------------------

             Summary: CqDataUsingPoolDUnitTest (and 
CqDataUsingPoolOptimizedExecuteDUnitTest) should not use ephemeral ports
                 Key: GEODE-9537
                 URL: https://issues.apache.org/jira/browse/GEODE-9537
             Project: Geode
          Issue Type: Test
          Components: tests
            Reporter: Jens Deppe


These tests currently use ephemeral ports for components that are stopped and 
restarted during the test. It can happen that other, concurrently running 
tests, will start using these same ports causing test failures (but not in the 
tests mentioned here).

Test failures appear as dunit suspect strings:
{noformat}
    java.lang.AssertionError: Suspicious strings were written to the log during 
this run.
    Fix the strings or use IgnoredException.addIgnoredException to ignore.
    -----------------------------------------------------------------------
    Found suspect string in 'dunit_suspect-locator.log' at line 347

    [fatal 2021/08/21 19:46:08.527 UTC <locator request thread 1> tid=47] 
Exception in processing request from 10.0.0.107
    java.lang.Exception: Improperly configured client detected - use 
addPoolLocator to configure its locators instead of addPoolServer.
      at 
org.apache.geode.distributed.internal.ProtocolCheckerImpl.checkProtocol(ProtocolCheckerImpl.java:31)
      at 
org.apache.geode.distributed.internal.tcpserver.TcpServer.lambda$processRequest$0(TcpServer.java:342)
      at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to