Skip to content
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

Improve Akka.Persistence.TestKit #7324

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

Arkatufus
Copy link
Contributor

Improve Akka.Persistence.TestKit

Changes

  • Allow for external pre-instantiated ActorSystem to be passed in into the constructor
  • Make all of the interceptors API public instead of internal to allow custom interceptor composition
  • Add a new ConnectionInterceptor that intercepts mocked database connection, emulating connection failures
  • Add a new interceptor CancelableDelay that is less prone to strict timing failure, a delay stops immediately when cancelled, lessening dependency on fragile timing issues.

# Conflicts:
#	src/core/Akka.Persistence.TestKit/Properties/AssemblyInfo.cs
@Aaronontheweb Aaronontheweb added akka-persistence akka-testkit Akka.NET Testkit issues labels Aug 20, 2024
@Aaronontheweb Aaronontheweb added this to the 1.5.28 milestone Aug 20, 2024
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit 19162bd into akkadotnet:dev Aug 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
akka-persistence akka-testkit Akka.NET Testkit issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants