You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Dénes Bodó (Jira)" <ji...@apache.org> on 2022/02/15 09:24:00 UTC
[jira] [Updated] (OOZIE-3658) Fix TestJMSJobEventListener#testConnectionDrop flakiness (again)
[ https://issues.apache.org/jira/browse/OOZIE-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dénes Bodó updated OOZIE-3658:
------------------------------
Attachment: OOZIE-3658-001.patch
> Fix TestJMSJobEventListener#testConnectionDrop flakiness (again)
> ----------------------------------------------------------------
>
> Key: OOZIE-3658
> URL: https://issues.apache.org/jira/browse/OOZIE-3658
> Project: Oozie
> Issue Type: Bug
> Components: core
> Affects Versions: 5.2.1
> Reporter: Dénes Bodó
> Assignee: Dénes Bodó
> Priority: Major
> Labels: flaky-test, test, unit-test
> Attachments: OOZIE-3658-001.patch
>
>
> org.apache.oozie.jms.TestJMSJobEventListener#testConnectionDrop fails intermittently due to an unsafe way it allocates system port.
> {code:java}
> int randomPort = 30000 + random.nextInt(10000);
> String brokerURl = "tcp://localhost:" + randomPort;
> ...
> broker.addConnector(brokerURl);{code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)