zstan commented on code in PR #4776:
URL: https://github.com/apache/ignite-3/pull/4776#discussion_r1856121649


##########
modules/compute/src/test/java/org/apache/ignite/internal/compute/IgniteComputeImplTest.java:
##########
@@ -243,19 +268,24 @@ private void respondWhenAskForPrimaryReplica() {
     }
 
     private void respondWhenExecutingSimpleJobLocally(ExecutionOptions 
executionOptions) {
-        when(computeComponent.executeLocally(eq(executionOptions), 
eq(testDeploymentUnits), eq(JOB_CLASS_NAME), eq("a")))
+        when(computeComponent.executeLocally(eq(executionOptions), 
eq(testDeploymentUnits), eq(JOB_CLASS_NAME), eq(null), eq("a")))
                 .thenReturn(completedExecution("jobResponse"));
     }
 
+    private void respondWhenExecutingSimpleJobLocally(ExecutionOptions 
executionOptions, CancellationToken cancellationToken) {
+        when(computeComponent.executeLocally(eq(executionOptions), 
eq(testDeploymentUnits), eq(JOB_CLASS_NAME),
+                eq(cancellationToken), 
eq("a"))).thenReturn(completedExecution("jobResponse"));

Review Comment:
   done



##########
modules/compute/src/test/java/org/apache/ignite/internal/compute/IgniteComputeImplTest.java:
##########
@@ -243,19 +268,24 @@ private void respondWhenAskForPrimaryReplica() {
     }
 
     private void respondWhenExecutingSimpleJobLocally(ExecutionOptions 
executionOptions) {
-        when(computeComponent.executeLocally(eq(executionOptions), 
eq(testDeploymentUnits), eq(JOB_CLASS_NAME), eq("a")))
+        when(computeComponent.executeLocally(eq(executionOptions), 
eq(testDeploymentUnits), eq(JOB_CLASS_NAME), eq(null), eq("a")))

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to