Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ray-operator/test/support/create_detached_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
parser.add_argument('--num-custom-resources', type=float, default=0)
args = parser.parse_args()

# set max_restarts=-1 as a workaround to restart unexpected death in tests.
# TODO (rueian): Remove the max_restarts workaround when https://github.com/ray-project/ray/issues/40864 is fixed.
@ray.remote(max_restarts=-1, num_cpus=args.num_cpus, num_gpus=args.num_gpus, resources={"CustomResource": args.num_custom_resources})
@ray.remote(num_cpus=args.num_cpus, num_gpus=args.num_gpus, resources={"CustomResource": args.num_custom_resources})
class Actor:
pass

Expand Down
Loading