mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-18 00:26:08 +08:00
tests: add explicit test to demo default to 0 db on redis-sentinel without db opt
This commit is contained in:
@@ -146,6 +146,7 @@ func TestParseRedisURI(t *testing.T) {
|
|||||||
MasterName: "mymaster",
|
MasterName: "mymaster",
|
||||||
SentinelAddrs: []string{"localhost:5000", "localhost:5001", "localhost:5002"},
|
SentinelAddrs: []string{"localhost:5000", "localhost:5001", "localhost:5002"},
|
||||||
SentinelPassword: "mypassword",
|
SentinelPassword: "mypassword",
|
||||||
|
DB: 0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user