[Java] Refine Java config item (#4014)

* Refine

* Address comment.
This commit is contained in:
Wang Qing
2019-02-11 23:55:40 +08:00
committed by Yuhong Guo
parent ab809bd927
commit bc438ca73b
4 changed files with 9 additions and 6 deletions
@@ -3,9 +3,7 @@ package org.ray.api.test;
import java.io.File;
import org.ray.api.Ray;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeTest;
public class BaseTest {
@@ -13,7 +11,6 @@ public class BaseTest {
public void setUp() {
System.setProperty("ray.home", "../..");
System.setProperty("ray.resources", "CPU:4,RES-A:4");
System.setProperty("ray.raylet.config.inline_object_max_size_bytes", "0");
Ray.init();
}
@@ -30,7 +27,6 @@ public class BaseTest {
// unset system properties
System.clearProperty("ray.home");
System.clearProperty("ray.resources");
System.clearProperty("ray.raylet.config.inline_object_max_size_bytes");
}
}