mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 01:43:50 +08:00
Refine Java worker code (#3735)
This commit is contained in:
@@ -12,7 +12,6 @@ import org.ray.api.RayActor;
|
||||
import org.ray.api.RayObject;
|
||||
import org.ray.api.annotation.RayRemote;
|
||||
import org.ray.api.test.BaseTest;
|
||||
import org.ray.runtime.util.logger.RayLog;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ import org.junit.Test;
|
||||
import org.ray.api.Ray;
|
||||
import org.ray.api.RayObject;
|
||||
import org.ray.api.WaitResult;
|
||||
import org.ray.runtime.util.logger.RayLog;
|
||||
|
||||
/**
|
||||
* Integration test for Ray.*
|
||||
@@ -30,8 +29,6 @@ public class RayMethodsTest extends BaseTest {
|
||||
double f1 = f1Id.get();
|
||||
Object n1 = n1Id.get();
|
||||
|
||||
RayLog.rapp.info("Strings: " + ss.get(0) + ss.get(1) + " int: " + i1 + " double: " + f1
|
||||
+ " null: " + n1);
|
||||
Assert.assertEquals("Hello World!", ss.get(0) + ss.get(1));
|
||||
Assert.assertEquals(1, i1);
|
||||
Assert.assertEquals(3.14, f1, Double.MIN_NORMAL);
|
||||
|
||||
Reference in New Issue
Block a user