[Java]Add actor id when throw RayActorException (#10886)

This commit is contained in:
fangfengbin
2020-09-20 16:51:14 +08:00
committed by GitHub
parent 3f90ec5963
commit 1d06e025ae
5 changed files with 31 additions and 2 deletions
@@ -121,6 +121,7 @@ public class FailureTest extends BaseTest {
} catch (RayActorException e) {
// When the actor process dies while executing a task, we should receive an
// RayActorException.
Assert.assertEquals(e.actorId, actor.getId());
}
try {
actor.task(BadActor::badMethod).remote().get();