1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

Add Redis Cluster support.

This commit is contained in:
Dimitrij Denissenko
2015-01-24 12:12:48 +00:00
committed by Vladimir Mihailenco
parent 78cf6f5eae
commit c21e5f3255
19 changed files with 1262 additions and 325 deletions

View File

@ -65,7 +65,7 @@ var _ = Describe("Commands", func() {
// workaround for "ERR Can't BGSAVE while AOF log rewriting is in progress"
Eventually(func() string {
return client.BgSave().Val()
}).Should(Equal("Background saving started"))
}, "10s").Should(Equal("Background saving started"))
})
It("should ClientKill", func() {
@ -119,7 +119,7 @@ var _ = Describe("Commands", func() {
// workaround for "ERR Background save already in progress"
Eventually(func() string {
return client.Save().Val()
}).Should(Equal("OK"))
}, "10s").Should(Equal("OK"))
})
It("should SlaveOf", func() {