Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3310

JCQueueTest is flaky

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None

      Description

      The JCQueueTest is flaky

      [ERROR] JCQueueTest.testFirstMessageFirst:61 We expect to receive first published message first, but received null expected:<FIRST> but was:<null>

      The issue is that the test has a race condition. There is no check that the consumer thread has read all (or any) of the produced messages before the test terminates.

        Attachments

          Activity

            People

            • Assignee:
              srdo Stig Rohde Døssing
              Reporter:
              srdo Stig Rohde Døssing

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment