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

test: harden PersistentActorRecoveryTimeoutSpec, #31624 #32030

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

patriknw
Copy link
Member

Didn't really find the reason for the test failure, but rewrote it slightly...

References #31624

@@ -130,18 +128,24 @@ class PersistentActorRecoveryTimeoutSpec
system.stop(persisting)
expectTerminated(persisting)

// now replay, but don't give the journal any tokens to replay events
Copy link
Member Author

Choose a reason for hiding this comment

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

at least this comment didn't match with the implementation, and I didn't understand what we tried to test with a long receive timeout and not triggering the recovery timeout

@pvlugter
Copy link
Contributor

Needs a scalafmt.

@johanandren johanandren merged commit 8ac0a62 into main Aug 15, 2023
6 checks passed
@johanandren johanandren deleted the wip-PersistentActorRecoveryTimeoutSpec-patriknw branch August 15, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants