# Requesting help with failure finding DiscourseRedis::Connector running tests

**URL:** <https://meta.discourse.org/t/requesting-help-with-failure-finding-discourseredis-connector-running-tests/155599>\
**Category:** Development\
**Created:** [June 22, 2020, 6:29pm UTC](https://meta.discourse.org/t/requesting-help-with-failure-finding-discourseredis-connector-running-tests/155599 "2020-06-22T18:29:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [June 22, 2020, 6:29pm UTC](https://meta.discourse.org/t/requesting-help-with-failure-finding-discourseredis-connector-running-tests/155599/1 "2020-06-22T18:29:34Z")

</div>

For the past some days, when I try to run tests locally, I am getting this error:

```plaintext
$ bundle exec rake autospec

...

An error occurred while loading ./spec/components/discourse_redis_spec.rb.
Failure/Error:
    describe DiscourseRedis::Connector do
      let(:connector) { DiscourseRedis::Connector.new(config) }
  
      after do
        fallback_handler.master = true
      end
  
      it 'should return the master config when master is up' do
        expect(connector.resolve).to eq(config)
      end

NameError:
  uninitialized constant DiscourseRedis::Connector
  Did you mean? ConnectionPool

```

I’m not aware of what I might have inadvertently changed so that my system can no longer run tests. Redis is definitely running, so it’s not a side effect of redis not running.

I get this even when running tests on a clean checkout of `tests-passed` so it’s something about my environment, but I don’t know where to look first.

Any suggestions?

---

_[View the full topic](https://meta.discourse.org/t/requesting-help-with-failure-finding-discourseredis-connector-running-tests/155599)._
