-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
I ran unit testcases followed the instruction specified here:https://github.com/go-redis/redis#run-the-test. but sentinel cloud not start successfully. after searching issue in https://github.com/redis, I found a similar issue:redis/redis#1463, then I changed the line 339 in main_test.go
from:
process, err := execCmd(redisServerBin, sentinelConf, "--sentinel", "--port", port, "--dir", dir)
into:
process, err := execCmd(redisServerBin, sentinelConf, "--port", port, "--dir", dir, "--sentinel")
and problem solved. is it just me or is there a common issue here?
Expected Behavior
sentinel should start successfully
Current Behavior
sentinel start fails with error:
*** FATAL CONFIG FILE ERROR (Redis 7.0.5) ***
Reading the configuration file, at line 27
>>> 'sentinel "--port" "9126"'
Unrecognized sentinel configuration statement.
Possible Solution
as above
Steps to Reproduce
- clone master
- go test
Context (Environment)
Redis 7.0.5
aksh-02
Metadata
Metadata
Assignees
Labels
No labels