mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Move Select to stateful commands and make it available only via Pipeline and Tx.
This commit is contained in:
@ -300,17 +300,17 @@ var _ = Describe("Cluster", func() {
|
||||
Expect(nodesList).Should(HaveLen(1))
|
||||
})
|
||||
|
||||
It("should CLUSTER READONLY", func() {
|
||||
res, err := cluster.primary().ReadOnly().Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(res).To(Equal("OK"))
|
||||
})
|
||||
// It("should CLUSTER READONLY", func() {
|
||||
// res, err := cluster.primary().ReadOnly().Result()
|
||||
// Expect(err).NotTo(HaveOccurred())
|
||||
// Expect(res).To(Equal("OK"))
|
||||
// })
|
||||
|
||||
It("should CLUSTER READWRITE", func() {
|
||||
res, err := cluster.primary().ReadWrite().Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(res).To(Equal("OK"))
|
||||
})
|
||||
// It("should CLUSTER READWRITE", func() {
|
||||
// res, err := cluster.primary().ReadWrite().Result()
|
||||
// Expect(err).NotTo(HaveOccurred())
|
||||
// Expect(res).To(Equal("OK"))
|
||||
// })
|
||||
})
|
||||
|
||||
Describe("Client", func() {
|
||||
|
Reference in New Issue
Block a user