mirror of
https://github.com/wassname/ray.git
synced 2026-08-02 13:01:01 +08:00
[Multi-tenancy] Delete flag enable_multi_tenancy and remove old code path (#10573)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import ray
|
||||
from ray.streaming import StreamingContext
|
||||
@@ -34,9 +35,8 @@ def test_hybrid_stream():
|
||||
print("java_worker_options", java_worker_options)
|
||||
assert not ray.is_initialized()
|
||||
ray.init(
|
||||
_load_code_from_local=True,
|
||||
_java_worker_options=java_worker_options,
|
||||
_system_config={"num_workers_per_process_java": 1})
|
||||
job_config=ray.job_config.JobConfig(code_search_path=sys.path),
|
||||
_java_worker_options=java_worker_options)
|
||||
|
||||
sink_file = "/tmp/ray_streaming_test_hybrid_stream.txt"
|
||||
if os.path.exists(sink_file):
|
||||
|
||||
Reference in New Issue
Block a user