Skip to content

Commit 08d501a

Browse files
committed
remove tests from RE
1 parent 097cddb commit 08d501a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

commands_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ var _ = Describe("Commands", func() {
193193
Expect(r.Val()).To(Equal(int64(0)))
194194
})
195195

196-
It("should ClientKillByFilter with MAXAGE", func() {
196+
It("should ClientKillByFilter with MAXAGE", Label("NonRedisEnterprise"), func() {
197197
var s []string
198198
started := make(chan bool)
199199
done := make(chan bool)
@@ -217,7 +217,7 @@ var _ = Describe("Commands", func() {
217217

218218
killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
219219
Expect(killed.Err()).NotTo(HaveOccurred())
220-
Expect(killed.Val()).To(Equal(int64(2)))
220+
Expect(killed.Val()).To(SatisfyAny(Equal(int64(2)), Equal(int64(3))))
221221

222222
select {
223223
case <-done:
@@ -1154,6 +1154,8 @@ var _ = Describe("Commands", func() {
11541154
Expect(len(keys)).To(BeNumerically(">=", 2))
11551155
Expect(keys[0]).To(HavePrefix("key"))
11561156
Expect(keys[1]).To(HavePrefix("key"))
1157+
Expect(keys).NotTo(BeEmpty())
1158+
Expect(cursor).NotTo(BeZero())
11571159
})
11581160

11591161
It("should ZScan", func() {

iterator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ var _ = Describe("ScanIterator", func() {
9999
Expect(vals).To(ContainElement("x"))
100100
})
101101

102-
It("should hscan without values across multiple pages", func() {
102+
It("should hscan without values across multiple pages", Label("NonRedisEnterprise"), func() {
103103
Expect(hashSeed(71)).NotTo(HaveOccurred())
104104

105105
var vals []string

0 commit comments

Comments
 (0)