Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Oct 15, 2024
1 parent fe4ebc4 commit f2d03a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,10 @@ func TestRegionHeartbeatHotStat(t *testing.T) {
re.NoError(err)
cluster := newTestRaftCluster(ctx, mockid.NewIDAllocator(), opt, storage.NewStorageWithMemoryBackend())
cluster.coordinator = schedule.NewCoordinator(ctx, cluster, nil)
newTestStores(4, "2.0.0")
stores := newTestStores(4, "2.0.0")
for _, store := range stores {
cluster.PutStore(store)
}
peers := []*metapb.Peer{
{
Id: 1,
Expand Down

0 comments on commit f2d03a9

Please sign in to comment.