Skip to content

Commit

Permalink
fix test for WorkflowTimeoutUtilityTests
Browse files Browse the repository at this point in the history
Signed-off-by: Junwei Dai <[email protected]>
  • Loading branch information
Junwei Dai committed Jan 15, 2025
1 parent 15e052b commit 95816c9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import java.util.Collections;
import java.util.concurrent.atomic.AtomicBoolean;

import static org.opensearch.flowframework.common.CommonValue.PROVISION_WORKFLOW_THREAD_POOL;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
Expand Down Expand Up @@ -69,7 +70,7 @@ public void testScheduleTimeoutHandler() {
verify(mockThreadPool, times(1)).schedule(
any(Runnable.class),
eq(TimeValue.timeValueMillis(timeout)),
eq(ThreadPool.Names.GENERIC)
eq(PROVISION_WORKFLOW_THREAD_POOL)
);
}

Expand Down

0 comments on commit 95816c9

Please sign in to comment.