mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[Placement Group] [Test] Fix pg.ready hang forever when gcs restarting (#20063)
* fixed * lint * fix comment * revert previous fix code
This commit is contained in:
parent
507bd9186b
commit
2c41936a39
2 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,6 @@ def get_ray_status_output(address):
|
|||
}
|
||||
|
||||
|
||||
@pytest.mark.skip(
|
||||
reason=("Flaky in the master. The feature is not officially "
|
||||
"supported yet, so we just disable it."))
|
||||
@pytest.mark.parametrize(
|
||||
"ray_start_cluster_head", [
|
||||
generate_system_config_map(
|
||||
|
|
|
@ -409,6 +409,9 @@ ray::Status NodeManager::RegisterGcs() {
|
|||
const auto &resources_changed =
|
||||
[this](const rpc::NodeResourceChange &resource_notification) {
|
||||
auto id = NodeID::FromBinary(resource_notification.node_id());
|
||||
if (id == self_node_id_) {
|
||||
return;
|
||||
}
|
||||
if (resource_notification.updated_resources_size() != 0) {
|
||||
ResourceSet resource_set(
|
||||
MapFromProtobuf(resource_notification.updated_resources()));
|
||||
|
|
Loading…
Add table
Reference in a new issue