Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-342

waits to circumvent race conditions tests.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: Rosetta
    • Labels:
      None
    • Environment:
      Any

      Description

      Most listener unittests (i.e. the ListenerManagerFTPIntegrationTest) relay on Thread.waits to be successful. This is very unrelayable. We should add some mechanism to have thread communication so we know when we can shutdown the threads and be successful. We should get rid of these build-in race conditions, even if it is 'just for testing'.

        Gliffy Diagrams

          Activity

          Hide
          kconner Kevin Conner added a comment -

          The tests have been changed to use notification instead of creating a result file.

          Committed in revision 9246

          Show
          kconner Kevin Conner added a comment - The tests have been changed to use notification instead of creating a result file. Committed in revision 9246

            People

            • Assignee:
              kconner Kevin Conner
              Reporter:
              kurtstam Kurt Stam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development