3645a05644da90a694e613f4a1c0cc17e5f23ffc,streaming/python/tests/test_hybrid_stream.py,,test_hybrid_stream,#,22

Before Change


    import time
    time.sleep(3)
    ray.shutdown()
    with open(sink_file, "r") as f:
        result = f.read()
        assert "a" in result
        assert "b" not in result
        assert "c" in result


if __name__ == "__main__":
    test_hybrid_stream()

After Change


            return True
        return False

    wait_for_condition(check_succeed, timeout=60, retry_interval_ms=1000)
    print("Execution succeed")
    ray.shutdown()

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 3645a05644da90a694e613f4a1c0cc17e5f23ffc
Time: 2020-09-08
Author: shawn.ck.yang@gmail.com
File Name: streaming/python/tests/test_hybrid_stream.py
Class Name:
Method Name: test_hybrid_stream


Project Name: ray-project/ray
Commit Name: dcb9e03fde3116f7c43787947ea6f0b37ddb3210
Time: 2020-09-08
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_atomic_creation


Project Name: ray-project/ray
Commit Name: ccf27a9ad29082f49db47aabfb2895adc7e74d61
Time: 2020-09-09
Author: shawn.ck.yang@gmail.com
File Name: streaming/python/tests/test_hybrid_stream.py
Class Name:
Method Name: test_hybrid_stream