Skip to content

Conversation

fjtirado
Copy link
Collaborator

Fix #803

@fjtirado fjtirado marked this pull request as ready for review September 25, 2025 13:14
}

@Test
void testForkWaitWithSuspend() throws IOException, InterruptedException {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This test was failing without the fix

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

Comment's not a blocker.

instance.resume();
WorkflowModel model = future.join();
assertThat(instance.status()).isEqualTo(WorkflowStatus.COMPLETED);
assertModel(model);
Copy link
Member

Choose a reason for hiding this comment

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

I'd use awaitability here next time we make a change. :p

@fjtirado fjtirado merged commit a1a4e6a into serverlessworkflow:main Sep 25, 2025
3 checks passed
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.

Suspend/resume wont work properly with ForkTask

2 participants