mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 20:54:12 +08:00
fix TestGetUncommittedLineage npe bug (#8585)
This commit is contained in:
@@ -99,7 +99,7 @@ class RAY_EXPORT RedisGcsClient : public GcsClient {
|
||||
HeartbeatBatchTable &heartbeat_batch_table();
|
||||
DynamicResourceTable &resource_table();
|
||||
/// Implements the Tasks() interface.
|
||||
raylet::TaskTable &raylet_task_table();
|
||||
virtual raylet::TaskTable &raylet_task_table();
|
||||
TaskLeaseTable &task_lease_table();
|
||||
TaskReconstructionLog &task_reconstruction_log();
|
||||
/// Implements the Errors() interface.
|
||||
|
||||
@@ -157,7 +157,7 @@ class MockGcsClient : public gcs::RedisGcsClient {
|
||||
node_accessor_.reset(new MockNodeInfoAccessor(this, node_id));
|
||||
}
|
||||
|
||||
gcs::raylet::TaskTable &raylet_task_table() { return *task_table_fake_; }
|
||||
gcs::raylet::TaskTable &raylet_task_table() override { return *task_table_fake_; }
|
||||
|
||||
MockTaskInfoAccessor &MockTasks() {
|
||||
return *dynamic_cast<MockTaskInfoAccessor *>(task_accessor_.get());
|
||||
|
||||
Reference in New Issue
Block a user