OrleansContrib / OrleansTestKit

Unit Test Toolkit for Microsoft Orleans
http://dotnet.github.io/orleans
MIT License
76 stars 42 forks source link

Concurrent Grain Factory #156

Open cmeyertons opened 4 months ago

cmeyertons commented 4 months ago

The TestGrainFactory can be invoked outside the Orleans thread-safety guarantees in a parallel fashion by code that is invoking via IClusterClient and should offer functionality for concurrency guarantees.

I received an error in some new code in our codebase that we had to re-shape business logic to satisfy the unit test error

155

jkonecki commented 1 month ago

Could you please provide more detail on your unit test scenario? What grains are involved and where does the parallelism come into picture? What is your unit test supposed to verify?