Skip to content

Commit

Permalink
Fix isEveryHandlerFinished doc string (#2182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns authored Aug 14, 2024
1 parent a885812 commit a5d6e60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit a5d6e60

Please sign in to comment.