JBehave
  1. JBehave
  2. JBEHAVE-473

Multi-threading is not aware of RunContext.givenStory

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3.1, 3.4
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Multi-threading is not aware of RunContext.givenStory. In case of a story with a GivenStory it will throw:

      Failed to run story org/jbehave/examples/trader/stories/trader_sells_all_stocks.story
      java.lang.RuntimeException: Delayed methods already invoked
      at org.jbehave.core.reporters.ConcurrentStoryReporter.invokeDelayed(ConcurrentStoryReporter.java:286)

      The StoryRunner should invoke the delayed methods according the givenStory flag of the RunContext.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Fix Version/s 3.3.1 [ 17301 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: