valepakh commented on code in PR #6600:
URL: https://github.com/apache/ignite-3/pull/6600#discussion_r2354566379
##########
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:
Yeah apparently after the marshalling changes it doesn't work this way
anymore
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]