cd6936e60bdd984b50877d810d317e33b889c3c5,rllib/tests/test_env_with_subprocess.py,,,#,22

Before Change


            },
        },
    })
    time.sleep(10.0)
    // Check whether processes are still running or Env has not cleaned up
    // the given tmp files.
    leaked = leaked_processes()
    assert not leaked, "LEAKED PROCESSES: {}".format(leaked)

After Change


    wait_for_condition(lambda: not os.path.exists(tmp1), timeout=30)
    wait_for_condition(lambda: not os.path.exists(tmp2), timeout=30)
    wait_for_condition(lambda: not os.path.exists(tmp3), timeout=30)
    wait_for_condition(lambda: not os.path.exists(tmp4), timeout=30)
    print("OK")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ray-project/ray
Commit Name: cd6936e60bdd984b50877d810d317e33b889c3c5
Time: 2020-10-07
Author: ed.nmi.oakes@gmail.com
File Name: rllib/tests/test_env_with_subprocess.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 580b017b431ef71ab56164464afcf7d042785a90
Time: 2020-03-02
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/tests/test_reference_counting.py
Class Name:
Method Name: test_global_gc


Project Name: ray-project/ray
Commit Name: 93006c2ba52e059e6fda52694762ad3cbcdef461
Time: 2021-01-10
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/tests/test_queue.py
Class Name:
Method Name: test_custom_resources