mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 20:39:52 +08:00
[Java] Enable skipped direct call cases (#7363)
* Comment out * Refine * Revert
This commit is contained in:
@@ -61,8 +61,6 @@ public class CrossLanguageInvocationTest extends BaseMultiLanguageTest {
|
||||
|
||||
@Test
|
||||
public void testCallingPythonActor() {
|
||||
// Python worker doesn't support direct call yet.
|
||||
TestUtils.skipTestIfDirectActorCallEnabled();
|
||||
RayPyActor actor = Ray.createPyActor(PYTHON_MODULE, "Counter", "1".getBytes());
|
||||
RayObject res = Ray.callPy(actor, "increase", "1".getBytes());
|
||||
Assert.assertEquals(res.get(), "2".getBytes());
|
||||
|
||||
@@ -120,9 +120,6 @@ public class FailureTest extends BaseTest {
|
||||
@Test
|
||||
public void testActorProcessDying() {
|
||||
TestUtils.skipTestUnderSingleProcess();
|
||||
// This test case hangs if the worker to worker connection is implemented with grpc.
|
||||
// TODO (kfstorm): Should be fixed.
|
||||
TestUtils.skipTestIfDirectActorCallEnabled();
|
||||
RayActor<BadActor> actor = Ray.createActor(BadActor::new, false);
|
||||
try {
|
||||
actor.call(BadActor::badMethod2).get();
|
||||
|
||||
Reference in New Issue
Block a user