OrleansContrib / OrleansTestKit

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

Orleans 7.2.0: Method 'AddMigrationParticipant' in type 'Orleans.TestKit.TestGrainLifecycle' does not have an implementation. #142

Closed jkonecki closed 1 year ago

jkonecki commented 1 year ago

After upgrading to Orleans 7.2.0, OrleansTestKit fails to initialize with error:

System.TypeLoadException : Method 'AddMigrationParticipant' in type 'Orleans.TestKit.TestGrainLifecycle' from assembly 'OrleansTestKit, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
  Stack Trace:
     at Orleans.TestKit.TestKitSilo..ctor()

I believe this is related to a new Orleans feature of live grain migrations: https://github.com/dotnet/orleans/pull/8452

https://github.com/dotnet/orleans/blob/ea3372c3b954264e07d166765a5fd4bacb1fbc34/src/Orleans.Core.Abstractions/Lifecycle/IGrainLifecycle.cs#L16

jkonecki commented 1 year ago

I'm happy to test a pre-release package on my project if one is published.