anchor.diff:  // In RECORDING mode, generates a new seed and saves it to a file, using the seed for the source
   // In REPLAYING mode, reads a seed from a file and creates a source from it
   func vcrSource(t *testing.T, path, mode string) (*VcrSource, error) {
  -	if s, ok := sources[t.Name()]; ok {
  +	sourcesLock.RLock()
  +	s, ok := sources[t.Name()]
  +	sourcesLock.RUnlock()
  +	if ok {
   		return &s, nil
   	}
   	switch mode {
  
positive.code: 			}
  		}
  		// Clean up test config
  		mutex.Lock()
  		delete(configs, t.Name())
  		delete(sources, t.Name())
  		mutex.Unlock()
  	}
  }
  
  func googleProviderConfig(t *testing.T) *Config {
  	config, ok := configs[t.Name()]
  	if ok {
  		return config
  	}
  
negative.code: 		}
  		s := rand.NewSource(seed)
  		vcrSource := VcrSource{seed: seed, source: s}
  		sourcesLock.Lock()
  		sources[t.Name()] = vcrSource
  		sourcesLock.Unlock()
  		return &vcrSource, nil
  	default:
  		log.Printf("[DEBUG] No valid environment var set for VCR_MODE, expected RECORDING or REPLAYING, skipping VCR. VCR_MODE: %s", mode)
  