Multi-threading is not aware of RunContext.givenStory

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

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 8, 2011 at 3:22 PM
Updated May 22, 2015 at 8:29 AM
Resolved April 8, 2011 at 10:38 PM