GivenStories at story level are reported to StoryReporter chaotically in multi-threaded mode

Description

Steps to reproduce:
1. Create some stories like:

GivenStories: precondition.story Scenario: Scenario When I do something

2. Run them using multiple threads

Actual result: "givenStory" flag is passed to methods beforeStory and afterStory in some random order (multiple threads change and share one value)

Expected result: multiple threads should use local "givenStory" flag

Activity

Show:

Mauro Talevi March 3, 2018 at 6:01 PM

Pulled with thanks.

Valery Yatsynovich September 15, 2017 at 8:06 PM

, the commit is updated, the PR is re-opened, could you please review the changes: https://github.com/jbehave/jbehave-core/pull/107/files ?

Mauro Talevi September 8, 2017 at 11:03 PM

Please run: mvn clean install -Pexamples

Core stories are now configured to not ignore failures, while stories meant to fail have been separated.

Valery Yatsynovich September 8, 2017 at 8:45 PM

could you please point which tests are failing? and also I will be really appreciated if you explain how you find failures.

Mauro Talevi September 8, 2017 at 4:59 PM

Reverted commit as it caused regressions

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created November 26, 2015 at 7:36 PM
Updated March 3, 2018 at 6:01 PM
Resolved March 3, 2018 at 6:01 PM

Flag notifications