mirror of
https://github.com/redis/go-redis.git
synced 2025-09-08 19:52:07 +03:00
fixed tests
This commit is contained in:
@@ -6267,7 +6267,7 @@ var _ = Describe("Commands", func() {
|
|||||||
// Test XAckDel with KEEPREF mode
|
// Test XAckDel with KEEPREF mode
|
||||||
n, err := client.XAckDel(ctx, "stream", "testgroup", "KEEPREF", "1-0", "2-0").Result()
|
n, err := client.XAckDel(ctx, "stream", "testgroup", "KEEPREF", "1-0", "2-0").Result()
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
Expect(n).To(BeNumerically(">=", 0))
|
Expect(n).To(HaveLen(2))
|
||||||
|
|
||||||
// Clean up
|
// Clean up
|
||||||
client.XGroupDestroy(ctx, "stream", "testgroup")
|
client.XGroupDestroy(ctx, "stream", "testgroup")
|
||||||
@@ -6278,7 +6278,7 @@ var _ = Describe("Commands", func() {
|
|||||||
// Test XDelEx with KEEPREF mode
|
// Test XDelEx with KEEPREF mode
|
||||||
n, err := client.XDelEx(ctx, "stream", "KEEPREF", "1-0", "2-0").Result()
|
n, err := client.XDelEx(ctx, "stream", "KEEPREF", "1-0", "2-0").Result()
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
Expect(n).To(BeNumerically(">=", 0))
|
Expect(n).To(HaveLen(2))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should XLen", func() {
|
It("should XLen", func() {
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs-7.4.0-v2}
|
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:8.2-RC1-pre}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
container_name: redis-standalone
|
container_name: redis-standalone
|
||||||
environment:
|
environment:
|
||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
- all
|
- all
|
||||||
|
|
||||||
osscluster:
|
osscluster:
|
||||||
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs-7.4.0-v2}
|
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:8.2-RC1-pre}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
container_name: redis-osscluster
|
container_name: redis-osscluster
|
||||||
environment:
|
environment:
|
||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
- all
|
- all
|
||||||
|
|
||||||
sentinel-cluster:
|
sentinel-cluster:
|
||||||
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs-7.4.0-v2}
|
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:8.2-RC1-pre}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
container_name: redis-sentinel-cluster
|
container_name: redis-sentinel-cluster
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
@@ -60,7 +60,7 @@ services:
|
|||||||
- all
|
- all
|
||||||
|
|
||||||
sentinel:
|
sentinel:
|
||||||
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs-7.4.0-v2}
|
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:8.2-RC1-pre}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
container_name: redis-sentinel
|
container_name: redis-sentinel
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -84,7 +84,7 @@ services:
|
|||||||
- all
|
- all
|
||||||
|
|
||||||
ring-cluster:
|
ring-cluster:
|
||||||
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:rs-7.4.0-v2}
|
image: ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:8.2-RC1-pre}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
container_name: redis-ring-cluster
|
container_name: redis-ring-cluster
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user