afterStory not reported for AfterStories when multithreaded

Description

When specifying a thread count larger than one, the afterStory notification is not sent to StoryReporters for the "AfterStories" meta-story.

This affects among others Serenity, which is generating the reports in this step (https://github.com/serenity-bdd/serenity-jbehave/issues/89).

I created a sample project based on the JBehave examples: https://github.com/csabakoncz/serenity-projects/tree/master/jbehave-multithreaded

If one issues "mvn test -Dthreadcount=2" then there is no "afterStory" line following "beforeStory: AfterStories". (In the single-threaded case it is there)

Assignee

Unassigned

Reporter

Csaba Koncz

Labels

None

Fix versions

Priority

Medium
Configure