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

Fix isEveryHandlerFinished doc string #2182

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ public static void applyLocalActivityOptions(
* interruption of in-progress handlers by workflow return:
*
* <pre><code>
* Workflow.await(() -&gt; Workflow.isAllHandlersFinished());
* Workflow.await(() -&gt; Workflow.isEveryHandlerFinished());
* </pre></code> will eventually have search attributes as:
*
* @return true if all handlers are finished, false otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class SignalAllHandlersFinished {
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(TestSignalWorkflowImpl.class).build();

@Test
public void isAllHandlersFinished() {
public void isEveryHandlerFinished() {
String workflowId = UUID.randomUUID().toString();
WorkflowClient workflowClient = testWorkflowRule.getWorkflowClient();
WorkflowOptions options =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class UpdateAllHandlersFinished {
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(TestUpdateWorkflowImpl.class).build();

@Test
public void isAllHandlersFinished() throws ExecutionException, InterruptedException {
public void isEveryHandlerFinished() throws ExecutionException, InterruptedException {
String workflowId = UUID.randomUUID().toString();
WorkflowClient workflowClient = testWorkflowRule.getWorkflowClient();
WorkflowOptions options =
Expand Down
Loading