-
Notifications
You must be signed in to change notification settings - Fork 11
Concurrency issue when using Amazon.Extensions.Configuration.SystemsManager #104
Comments
Hey @JovialJerboa, thanks for raising this issue and providing the test repository. I am not sure what |
@mbhoek thanks for your response. You're absolutely correct, in the sample provided the configuration isn't being used, however it doesn't need to be to illustrate the problem. I found that you simply needed to add the Amazon Systems Manager to the configuration builder and run I noticed the issue when working on a different project where we're using the Amazon Systems Manager to configure AWS services for use within the SpecFlow tests, for example accessing configuration from Parameter Store / Secrets Manager.
If the code is decomposed into a separate method that's called from the Is there another place I can put that configuration code where it would be available for dependency injection that isn't the |
@mbhoek let me know if there is anything else I can do to help with this |
Thank you for your contribution. Unfortunately I have postponed working on this plugin until I get a better understanding of the future of the SpecFlow project. If they continue, all my focus will be on supporting SpecFlow v4. |
Closing this issue because the plugin will be donated to Reqnroll. |
Getting a concurrency error when trying to use
Amazon.Extensions.Configuration.SystemsManager
withSpecFlow.DependencyInjection
in the[ScenarioDependencies]
tagged methodReproduction
Source
I've created a fork of the project to illustrate the bug here
Specifics
Amazon.Extensions.Configuration.SystemsManager
nuget package[ScenarioDependencies]
code to includei. you will receive a
Concurrent object resolution timeout (potential circular dependency).
errorii. if you run any test indivdually, debug all the tests or run with
parallelizeTestCollections: false
in a xunit.runner.json file the tests will succeedFull error message
The text was updated successfully, but these errors were encountered: