dcb9e03fde3116f7c43787947ea6f0b37ddb3210,python/ray/tests/test_placement_group.py,,test_atomic_creation,#Any#,620
Before Change
// created.
// TODO(sang): This with statement should be removed after atomic creation
// is implemented. It will be done in the next PR.
with pytest.raises(ray.exceptions.RayActorError):
ray.get(pg_actor.ping.remote(), timeout=3.0)
if __name__ == "__main__":
sys.exit(pytest.main(["-v", __file__]))
After Change
// This should hang because every resources
// are claimed by placement group.
check_without_pg = [
resource_check.remote() for _ in range(bundle_per_node * num_nodes)
]
// This all should scheduled on each bundle.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances 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: b351d1394087251b119930bf4aaee7a79ef4e55a
Time: 2020-07-17
Author: swang@cs.berkeley.edu
File Name: python/ray/tests/test_reconstruction.py
Class Name:
Method Name: test_basic_reconstruction_put
Project Name: keras-team/keras
Commit Name: 98238720ee0f0ed9b9d21c6f9f234206d9e90b9e
Time: 2017-07-31
Author: mrtz.milani@googlemail.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_repeat_elements