e3b5deb7414aee5265840148dd62eb028709999d,streaming/python/tests/test_stream.py,,test_data_stream,#,5

Before Change




def test_data_stream():
    ray.init(_load_code_from_local=True)
    ctx = StreamingContext.Builder().build()
    stream = ctx.from_values(1, 2, 3)
    java_stream = stream.as_java_stream()
    python_stream = java_stream.as_python_stream()

After Change




def test_data_stream():
    ray.init(job_config=ray.job_config.JobConfig(code_search_path=sys.path))
    ctx = StreamingContext.Builder().build()
    stream = ctx.from_values(1, 2, 3)
    java_stream = stream.as_java_stream()
    python_stream = java_stream.as_python_stream()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: ray-project/ray
Commit Name: e3b5deb7414aee5265840148dd62eb028709999d
Time: 2020-12-10
Author: kfstorm@outlook.com
File Name: streaming/python/tests/test_stream.py
Class Name:
Method Name: test_data_stream


Project Name: ray-project/ray
Commit Name: e3b5deb7414aee5265840148dd62eb028709999d
Time: 2020-12-10
Author: kfstorm@outlook.com
File Name: streaming/python/tests/test_stream.py
Class Name:
Method Name: test_key_data_stream


Project Name: ray-project/ray
Commit Name: e3b5deb7414aee5265840148dd62eb028709999d
Time: 2020-12-10
Author: kfstorm@outlook.com
File Name: streaming/python/tests/test_failover.py
Class Name:
Method Name: test_word_count


Project Name: ray-project/ray
Commit Name: e3b5deb7414aee5265840148dd62eb028709999d
Time: 2020-12-10
Author: kfstorm@outlook.com
File Name: python/ray/tests/test_cross_language.py
Class Name:
Method Name: test_cross_language_raise_exception


Project Name: ray-project/ray
Commit Name: e3b5deb7414aee5265840148dd62eb028709999d
Time: 2020-12-10
Author: kfstorm@outlook.com
File Name: streaming/python/tests/test_stream.py
Class Name:
Method Name: test_stream_config


Project Name: ray-project/ray
Commit Name: e3b5deb7414aee5265840148dd62eb028709999d
Time: 2020-12-10
Author: kfstorm@outlook.com
File Name: python/ray/tests/test_cross_language.py
Class Name:
Method Name: test_cross_language_raise_kwargs