Skip to content

chore: migrate tests to flatten supervise API#1388

Merged
Roiocam merged 3 commits intoapache:mainfrom
Roiocam:migrate-to-new-api
Aug 21, 2024
Merged

chore: migrate tests to flatten supervise API#1388
Roiocam merged 3 commits intoapache:mainfrom
Roiocam:migrate-to-new-api

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 force-pushed the migrate-to-new-api branch from e36a234 to e9c5edb Compare August 18, 2024 14:03
@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
}

"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

@Roiocam Roiocam force-pushed the migrate-to-new-api branch from dde6473 to fc4b0c4 Compare August 19, 2024 11:12
Copy link
Member

@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
@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