I’ve just run RSPEC and I got 2 failure
It seems to be redis setting problems, but I have no idea
Please give me some advice about this.
Failures:
1) DiscourseRedis DiscourseRedis::FallbackHandler#initiate_fallback_to_master should restrict the number of checks
Failure/Error: expect(fallback_handler.master).to eq(true)
expected: true
got: false
(compared using ==)
# ./spec/components/discourse_redis_spec.rb:106:in `block (4 levels) in <top (required)>'
2) DiscourseRedis DiscourseRedis::Connector should return the master config when master is up
Failure/Error: client.call([:role])[0]
Redis::CommandError:
ERR unknown command 'role'
# ./lib/discourse_redis.rb:107:in `resolve'
# ./spec/components/discourse_redis_spec.rb:40:in `block (3 levels) in <top (required)>'