Consodiate CI Python tests and fix bug about multiple ray.init (#4195)

This commit is contained in:
Hao Chen
2019-03-02 06:38:28 +08:00
committed by Robert Nishihara
parent 9c48cc27aa
commit 6f1a29ad3f
4 changed files with 23 additions and 52 deletions
+5
View File
@@ -13,6 +13,11 @@ import warnings
import ray
from ray.tests.cluster_utils import Cluster
# TODO(yuhguo): This test file requires a lot of CPU/memory, and
# better be put in Jenkins. However, it fails frequently in Jenkins, but
# works well in Travis. We should consider moving it back to Jenkins once
# we figure out the reason.
if (multiprocessing.cpu_count() < 40
or ray.utils.get_system_memory() < 50 * 10**9):
warnings.warn("This test must be run on large machines.")