Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13688

GuavaHippoEventBusTest fails occasionally

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 13.4.4, 14.3.0
    • None
    • None

    Description

      The problem is clear: wait(500) will let the current thread wait until it is notified: the listener objects notify the main thread which then continues. However listener2 might not yet have been fired (or listener1). With a thread sleep it will work, however, these kind of tests can be done cleaner without waits

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: