edbb2937d393f9cd95a5016bc2df5250bbd59152,python/ray/tests/test_object_spilling.py,,test_delete_objects,#Any#Any#,305

Before Change


    platform.system() == "Windows", reason="Failing on Windows.")
def test_delete_objects(tmp_path, shutdown_only):
    // Limit our object store to 75 MiB of memory.
    temp_folder = tmp_path / "spill"
    temp_folder.mkdir()
    ray.init(
        object_store_memory=75 * 1024 * 1024,
        _system_config={
            "max_io_workers": 1,
            "min_spilling_size": 0,
            "automatic_object_spilling_enabled": True,
            "object_store_full_delay_ms": 100,
            "object_spilling_config": json.dumps({
                "type": "filesystem",
                "params": {
                    "directory_path": str(temp_folder)
                }
            }),
        })
    arr = np.random.rand(1024 * 1024)  // 8 MB data
    replay_buffer = []

After Change


    platform.system() == "Windows", reason="Failing on Windows.")
def test_delete_objects(object_spilling_config, shutdown_only):
    // Limit our object store to 75 MiB of memory.
    object_spilling_config, temp_folder = object_spilling_config
    ray.init(
        object_store_memory=75 * 1024 * 1024,
        _system_config={
            "max_io_workers": 1,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 9

Instances


Project Name: ray-project/ray
Commit Name: edbb2937d393f9cd95a5016bc2df5250bbd59152
Time: 2021-01-23
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_object_spilling.py
Class Name:
Method Name: test_delete_objects


Project Name: ray-project/ray
Commit Name: edbb2937d393f9cd95a5016bc2df5250bbd59152
Time: 2021-01-23
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_object_spilling.py
Class Name:
Method Name: test_delete_objects_delete_while_creating


Project Name: ray-project/ray
Commit Name: edbb2937d393f9cd95a5016bc2df5250bbd59152
Time: 2021-01-23
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_object_spilling.py
Class Name:
Method Name: test_delete_objects


Project Name: ray-project/ray
Commit Name: edbb2937d393f9cd95a5016bc2df5250bbd59152
Time: 2021-01-23
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_object_spilling.py
Class Name:
Method Name: test_delete_objects_on_worker_failure


Project Name: ray-project/ray
Commit Name: edbb2937d393f9cd95a5016bc2df5250bbd59152
Time: 2021-01-23
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_object_spilling.py
Class Name:
Method Name: test_spilling_not_done_for_pinned_object


Project Name: ray-project/ray
Commit Name: edbb2937d393f9cd95a5016bc2df5250bbd59152
Time: 2021-01-23
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_object_spilling.py
Class Name:
Method Name: test_fusion_objects