SpecFlow.DependencyInjection icon indicating copy to clipboard operation
SpecFlow.DependencyInjection copied to clipboard

fix race condition causing bodi to throw exception

Open HuiSou opened this issue 1 year ago • 0 comments

Hi Everyone!

I've use this plugin with my test that contains around 14 testcases with multiple service registered ( Page object model, mostly) the plugin works fine with serquential execution but in parallelization, it failed with this signature image after dozen hour of debug, I discovered that the static method without lock is a problem so after I change it and run for a while, the problem seems to be gone.

I'm not sure that you can release this fix on v3.9 or not, but that would be cool as I will not need a clone of your code in my repo.

Cheers!

HuiSou avatar Apr 26 '24 14:04 HuiSou