code: func (s *MockSchemaSyncer) OwnerCheckAllVersions(ctx context.Context, latestVer int64) error {
  	ticker := time.NewTicker(mockCheckVersInterval)
  	defer ticker.Stop()
  
  	for {
  		select {
  		case <-ctx.Done():
  			return errors.Trace(ctx.Err())
  		case <-ticker.C:
  			ver := atomic.LoadInt64(&s.selfSchemaVersion)
  			if ver == latestVer {
  				return nil
  			}
  		}
  	}
  }
docs: // OwnerCheckAllVersions implements SchemaSyncer.OwnerCheckAllVersions interface.