Refine Java worker code (#3735)

This commit is contained in:
Wang Qing authored and Hao Chen committed 2019-01-12 22:45:33 +08:00
1 parent 8723d6b061
commit a0cf8ee5a8
10 files changed
+26 -89

No files matched your search

@@ -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);