Dale Emery created GEODE-9488: --------------------------------- Summary: CqPerfDUnitTest test expects ephemeral port to remain available Key: GEODE-9488 URL: https://issues.apache.org/jira/browse/GEODE-9488 Project: Geode Issue Type: Test Components: tests Reporter: Dale Emery
{{CqPerfDUnitTest.testFailOverMatchingCQsWithMultipleServers}} starts a server on an ephemeral port, shuts the server down, and expects to be able to restart the server on the same port. If some other process binds to that port after the server stops and before it restarts, the server will be unable to bind to the port. Here is an example from a PR precommit CI run: http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-6740/test-results/distributedTest/1628140081/classes/org.apache.geode.cache.query.cq.dunit.CqQueryOptimizedExecuteDUnitTest.html#testCQAllServersLeaveAndRejoin In this case, it was another test's debug port (\{{dt_socket}}) that bound to the port while this test's server was stopped. But even when running alone, this test should not expect any port in the ephemeral port range to remain available. -- This message was sent by Atlassian Jira (v8.3.4#803005)