Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3111 [Umbrella] Fix flaky tests in Oozie
  3. OOZIE-3658

Fix TestJMSJobEventListener#testConnectionDrop flakiness (again)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.1
    • 5.3.0
    • core

    Description

      org.apache.oozie.jms.TestJMSJobEventListener#testConnectionDrop fails intermittently due to an unsafe way it allocates system port.

      int randomPort = 30000 + random.nextInt(10000);
      String brokerURl = "tcp://localhost:" + randomPort;
      ...
      broker.addConnector(brokerURl);

       

      Attachments

        1. OOZIE-3658-002.patch
          4 kB
          Dénes Bodó
        2. OOZIE-3658-001.patch
          3 kB
          Dénes Bodó

        Issue Links

          Activity

            People

              dionusos Dénes Bodó
              dionusos Dénes Bodó
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: