JBoss ESB
  1. JBoss ESB
  2. JBESB-342

waits to circumvent race conditions tests.

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: Rosetta
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      Any
    • Similar Issues:
      Show 10 results 

      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'.

        Activity

        Hide
        Kevin Conner
        added a comment -

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

        Committed in revision 9246

        Show
        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:
            Kevin Conner
            Reporter:
            Kurt Stam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: