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

chore: migrate tests to flatten supervise API #1388

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

Roiocam
Copy link
Member

@Roiocam Roiocam commented Jul 4, 2024

continue #1386, separate PR for test migration

@Roiocam Roiocam changed the title chore: migrate tests to flatten supervise chore: migrate tests to flatten supervise API Jul 4, 2024
@Roiocam Roiocam marked this pull request as ready for review August 18, 2024 14:03
@Roiocam Roiocam requested review from He-Pin, jlprat, pjfanning and raboof and removed request for jlprat August 18, 2024 14:03
@pjfanning pjfanning added this to the 1.1.0 milestone Aug 18, 2024
LoggingTestKit.error[Exc3].expect {
spawn(behv)
}
}

"support nesting exceptions with different strategies" in {
def throwIOExceptionThenIllegalArgumentException(behvFactory: ActorRef[Event] => Behavior[Command]): Unit = {
Copy link
Member Author

Choose a reason for hiding this comment

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

"support nesting exceptions with outer restart and inner backoff strategies" in {
and
"support nesting exceptions with different strategies" in {

almost same, Therefore, it is compressed into the same method here

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

lgtm

@Roiocam Roiocam merged commit 9b8ddc8 into apache:main Aug 21, 2024
19 checks passed
@Roiocam Roiocam deleted the migrate-to-new-api branch August 21, 2024 01:34
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.

2 participants