Closed clicman closed 7 years ago
Is there any way to write the test to reproduce the problem?
This test found the same problem in allure1 https://github.com/allure-framework/allure1/blob/master/allure-java-adaptor-api/src/test/java/ru/yandex/qatools/allure/AllureLifecycleTest.java#L186-L220
There shouldn't be reproducable, because cucumber-jvm test supports classes only threading. And in this case for each class new Plugin instance initiated. So I have no idea how it possible.
Hm.. Is it possible to manually parallelize steps during test?
Yes, it possible though pointing <parallel>methods</parallel>
in surefire config, but it will crash cucumber-jvm itself on its not synchronized internal lists and it will happen before original problem. As I said cucumber-jvm supports classes parallelization only.
I got it, thanks.
Fixes #38