-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[.NET][Unit Testing] FromJson throws exceptions when running unit tests in parallel #3509
Comments
Hey @nesalang could you help pick this up? Thanks |
sure |
@shalinijoshi19 in discussion with @paulcam206, we have two options: second option seems better choice in terms of the performance from user perspective since we don't have to use computationally expensive mutex lock and create a bottleneck, but making non static will involve more work as we need to plumb down the parse context. |
🎉This issue was addressed in #, which has now been successfully released as |
Issue is not fixed yet, I got this same issue. Had to stop running tests in parallel. But this might came in normal flow as well when many users will use the application. |
Platform
.NET
botframework
Version of SDK
NuGet version 1.2.3
Details
I have multiple dialogs and multiple tests for each dialog in my chatbot project. I use cards in these dialogs, which are obtained from json files. When running all my tests, I get the following exception for most of the tests:
and one test returns the following error:
When running the unit tests one by one, all of the pass.
It looks like AdaptiveCards.FromJson cannot handle multiple simultaneous calls.
The text was updated successfully, but these errors were encountered: