You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (Jira)" <ji...@apache.org> on 2021/08/05 20:35:00 UTC
[jira] [Assigned] (GEODE-9488) CqPerfDUnitTest test expects
ephemeral port to remain available
[ https://issues.apache.org/jira/browse/GEODE-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dale Emery reassigned GEODE-9488:
---------------------------------
Assignee: Dale Emery
> 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
> Assignee: Dale Emery
> Priority: Major
> Labels: GeodeOperationAPI
>
> {{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)