@@ -1324,7 +1324,7 @@ func TestTransferLeaderForScheduler(t *testing.T) {
13241324 "store_id" : 2 ,
13251325 })
13261326 // Check scheduler updated.
1327- re .Len (rc .GetSchedulers (), 6 )
1327+ re .Len (rc .GetSchedulers (), 5 )
13281328 checkEvictLeaderSchedulerExist (re , rc , true )
13291329 checkEvictLeaderStoreIDs (re , rc , []uint64 {1 , 2 })
13301330
@@ -1343,7 +1343,7 @@ func TestTransferLeaderForScheduler(t *testing.T) {
13431343 time .Sleep (time .Second )
13441344 re .True (leaderServer .GetRaftCluster ().IsPrepared ())
13451345 // Check scheduler updated.
1346- re .Len (rc1 .GetSchedulers (), 6 )
1346+ re .Len (rc1 .GetSchedulers (), 5 )
13471347 checkEvictLeaderSchedulerExist (re , rc , true )
13481348 checkEvictLeaderStoreIDs (re , rc , []uint64 {1 , 2 })
13491349
@@ -1361,7 +1361,7 @@ func TestTransferLeaderForScheduler(t *testing.T) {
13611361 time .Sleep (time .Second )
13621362 re .True (leaderServer .GetRaftCluster ().IsPrepared ())
13631363 // Check scheduler updated
1364- re .Len (rc .GetSchedulers (), 6 )
1364+ re .Len (rc .GetSchedulers (), 5 )
13651365 checkEvictLeaderSchedulerExist (re , rc , true )
13661366 checkEvictLeaderStoreIDs (re , rc , []uint64 {1 , 2 })
13671367
0 commit comments