Skip to content

Commit d486dfb

Browse files
Fix tests
1 parent 4d86c94 commit d486dfb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"ray.core.generated.ClientTableData",
4343
"ray.core.generated.GcsTableEntry",
4444
"ray.core.generated.HeartbeatTableData",
45+
"ray.core.generated.HeartbeatBatchTableData",
4546
"ray.core.generated.DriverTableData",
4647
"ray.core.generated.ErrorTableData",
4748
"ray.core.generated.ProfileTableData",

test/failure_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,10 @@ def test_warning_monitor_died(shutdown_only):
500500
# addition to the monitor.
501501
fake_id = 20 * b"\x00"
502502
malformed_message = "asdf"
503-
redis_client = ray.worker.global_state.redis_clients[0]
503+
redis_client = ray.worker.global_worker.redis_client
504504
redis_client.execute_command(
505-
"RAY.TABLE_ADD", ray.gcs_utils.TablePrefix.HEARTBEAT,
506-
ray.gcs_utils.TablePubsub.HEARTBEAT, fake_id, malformed_message)
505+
"RAY.TABLE_ADD", ray.gcs_utils.TablePrefix.HEARTBEAT_BATCH,
506+
ray.gcs_utils.TablePubsub.HEARTBEAT_BATCH, fake_id, malformed_message)
507507

508508
wait_for_errors(ray_constants.MONITOR_DIED_ERROR, 1)
509509

0 commit comments

Comments
 (0)