func (o *MockOracle) Disable() {
	o.Lock()
	defer o.Unlock()
	o.stop = true
}
Disable disables the Oracle
package oracles
import (
	"context"
	"sync"
	"time"
	"github.com/pingcap/errors"
	"github.com/tikv/client-go/v2/oracle"
)
var errStopped = errors.New("stopped")
type MockOracle struct {
	sync.RWMutex
	stop   bool
	offset time.Duration
	lastTS uint64
}
func (o *MockOracle) Enable() {
	o.Lock()
	defer o.Unlock()
	o.stop = false
}