valepakh commented on code in PR #6600:
URL: https://github.com/apache/ignite-3/pull/6600#discussion_r2352875681


##########
modules/compute/src/integrationTest/java/org/apache/ignite/internal/compute/ItComputeTestStandalone.java:
##########
@@ -222,6 +224,31 @@ void executeJobWithObsoleteUnit() {
         assertThat(successJob, willCompleteSuccessfully());
     }
 
+    @Test
+    void jobContextProvidesDeploymentUnitInfo() {
+        var units0 = List.of(
+                new DeploymentUnit(unit.name(), Version.LATEST),
+                unit);
+
+        JobDescriptor<Void, String> job = 
JobDescriptor.builder(DeploymentUnitInfoJob.class).units(units0).build();
+
+        String jobRes = compute().execute(JobTarget.node(clusterNode(0)), job, 
null);
+
+        assertThat(jobRes, containsString("name='jobs'"));

Review Comment:
   Well it is.



-- 
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