JBehave
  1. JBehave
  2. JBEHAVE-934

Multithreaded JUnitStories are running but not running concurrently

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.7.5
    • Fix Version/s: 3.7.5
    • Component/s: Core
    • Labels:
      None
    • Environment:
    • Number of attachments :
      0

      Description

      When running several multithreaded JUnitStories, the tests run in multiple threads as intended but do not run concurrently. This is evident because when they're run and the steps are printed on the screen, all of them are separated by story and the test time isn't any faster than when one thread is run. When I ran the threads example from jbehave.org in multiple threads, I could easily tell all of the steps from the tests were running concurrently because different scenarios from different tests were all jumbled together when the test ran, but this is not the case when I run my tests.

      Is there a specific reason my tests are not running in concurrency even though they are running in multiple threads?

        Activity

        Hide
        Paul Clark added a comment -

        Actually was running stories in concurrency

        Show
        Paul Clark added a comment - Actually was running stories in concurrency
        Paul Clark made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Not A Bug [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul Clark
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: