func (mc *Cluster) SetMaxSnapshotCount(v int) {
	mc.updateScheduleConfig(func(s *config.ScheduleConfig) { s.MaxSnapshotCount = uint64(v) })
}
SetMaxSnapshotCount updates the MaxSnapshotCount configuration.
package mockcluster
import (
	"time"
	"github.com/tikv/pd/pkg/typeutil"
	"github.com/tikv/pd/server/config"
)
func (mc *Cluster) SetMaxMergeRegionSize(v int) {
	mc.updateScheduleConfig(func(s *config.ScheduleConfig) { s.MaxMergeRegionSize = uint64(v) })
}
func (mc *Cluster) SetMaxMergeRegionKeys(v int) {
	mc.updateScheduleConfig(func(s *config.ScheduleConfig) { s.MaxMergeRegionKeys = uint64(v) })
}
func (mc *Cluster) SetSplitMergeInterval(v time.Duration) {
	mc.updateScheduleConfig(func(s *config.ScheduleConfig) { s.SplitMergeInterval = typeutil.NewDuration(v) })
}
func (mc *Cluster) SetEnableOneWayMerge(v bool) {
	mc.updateScheduleConfig(func(s *config.ScheduleConfig) { s.EnableOneWayMerge = v })
}