Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Dec 11, 2024
1 parent 6638b8d commit 4d798fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/server/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ func TestTransferLeaderForScheduler(t *testing.T) {
"store_id": 2,
})
// Check scheduler updated.
re.Len(rc.GetSchedulers(), 6)
re.Len(rc.GetSchedulers(), 4)
checkEvictLeaderSchedulerExist(re, rc, true)
checkEvictLeaderStoreIDs(re, rc, []uint64{1, 2})

Expand All @@ -1435,7 +1435,7 @@ func TestTransferLeaderForScheduler(t *testing.T) {
time.Sleep(time.Second)
re.True(leaderServer.GetRaftCluster().IsPrepared())
// Check scheduler updated.
re.Len(rc1.GetSchedulers(), 6)
re.Len(rc1.GetSchedulers(), 4)
checkEvictLeaderSchedulerExist(re, rc, true)
checkEvictLeaderStoreIDs(re, rc, []uint64{1, 2})

Expand All @@ -1453,7 +1453,7 @@ func TestTransferLeaderForScheduler(t *testing.T) {
time.Sleep(time.Second)
re.True(leaderServer.GetRaftCluster().IsPrepared())
// Check scheduler updated
re.Len(rc.GetSchedulers(), 6)
re.Len(rc.GetSchedulers(), 4)
checkEvictLeaderSchedulerExist(re, rc, true)
checkEvictLeaderStoreIDs(re, rc, []uint64{1, 2})

Expand Down

0 comments on commit 4d798fa

Please sign in to comment.