[
https://issues.apache.org/jira/browse/GEODE-8772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268889#comment-17268889
]
ASF GitHub Bot commented on GEODE-8772:
---------------------------------------
demery-pivotal opened a new pull request #5932:
URL: https://github.com/apache/geode/pull/5932
ManagementRequestLoggingDistributedTest was using the default JMX port.
When run in parallel outside of docker, the test can fail to bind the
JMX manager if another test has already bound to that port.
ManagementRequestLoggingDistributedTest now assigns an available JMX
port.
Authored-by: Dale Emery <[email protected]>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Avoid using default ports in tests [PERMANENT]
> ----------------------------------------------
>
> Key: GEODE-8772
> URL: https://issues.apache.org/jira/browse/GEODE-8772
> Project: Geode
> Issue Type: Test
> Components: tests
> Affects Versions: 1.14.0
> Reporter: Dale Emery
> Assignee: Dale Emery
> Priority: Major
> Labels: GeodeOperationAPI, pull-request-available
>
> Many distributed tests and upgrade tests (and sometimes others) launch
> members with default ports, especially for JMX (1099) and HTTP service
> (7070). When run in parallel outside of docker, these tests often fail
> because the default port is already in use in another test.
> Except when specifically testing the product's use of the defaults, every
> test should assign ports known to be available. For many tests, we can
> accomplish this by changing the test framework to assign available ports.
> Other tests may require changes in the test code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)