881a46e1d6ad0fb16a3b0f033c68694c29f1ddb6,python/ray/tests/test_runtime_env.py,,test_single_node,#Any#Any#,57
Before Change
cluster = ray_start_cluster_head
redis_address = cluster.address
runtime_env = f{{ "working_dir": "{working_dir}" }}
script = driver_script.format(
redis_address=redis_address,
working_dir=working_dir,
runtime_env=runtime_env)
out = run_string_as_driver(script)
assert out.strip().split()[-1] == "1000"
After Change
redis_address = cluster.address
runtime_env = f{{ "working_dir": "{working_dir}" }}
execute_statement = "print(sum(ray.get([run_test.remote()] * 1000)))"
script = driver_script.format(**locals())
out = run_string_as_driver(script)
assert out.strip().split()[-1] == "1000"
from ray._private.runtime_env import PKG_DIR
assert len(list(Path(PKG_DIR).iterdir())) == 1
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: 881a46e1d6ad0fb16a3b0f033c68694c29f1ddb6
Time: 2021-03-18
Author: 74173148+iycheng@users.noreply.github.com
File Name: python/ray/tests/test_runtime_env.py
Class Name:
Method Name: test_single_node
Project Name: ray-project/ray
Commit Name: 881a46e1d6ad0fb16a3b0f033c68694c29f1ddb6
Time: 2021-03-18
Author: 74173148+iycheng@users.noreply.github.com
File Name: python/ray/tests/test_runtime_env.py
Class Name:
Method Name: test_two_node_uri
Project Name: ray-project/ray
Commit Name: 881a46e1d6ad0fb16a3b0f033c68694c29f1ddb6
Time: 2021-03-18
Author: 74173148+iycheng@users.noreply.github.com
File Name: python/ray/tests/test_runtime_env.py
Class Name:
Method Name: test_two_node_module
Project Name: ray-project/ray
Commit Name: 881a46e1d6ad0fb16a3b0f033c68694c29f1ddb6
Time: 2021-03-18
Author: 74173148+iycheng@users.noreply.github.com
File Name: python/ray/tests/test_runtime_env.py
Class Name:
Method Name: test_two_node