File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ var _ = Describe("Commands", func() {
193
193
Expect (r .Val ()).To (Equal (int64 (0 )))
194
194
})
195
195
196
- It ("should ClientKillByFilter with MAXAGE" , func () {
196
+ It ("should ClientKillByFilter with MAXAGE" , Label ( "NonRedisEnterprise" ), func () {
197
197
var s []string
198
198
started := make (chan bool )
199
199
done := make (chan bool )
@@ -217,7 +217,7 @@ var _ = Describe("Commands", func() {
217
217
218
218
killed := client .ClientKillByFilter (ctx , "MAXAGE" , "1" )
219
219
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 ) )))
221
221
222
222
select {
223
223
case <- done :
@@ -1154,6 +1154,8 @@ var _ = Describe("Commands", func() {
1154
1154
Expect (len (keys )).To (BeNumerically (">=" , 2 ))
1155
1155
Expect (keys [0 ]).To (HavePrefix ("key" ))
1156
1156
Expect (keys [1 ]).To (HavePrefix ("key" ))
1157
+ Expect (keys ).NotTo (BeEmpty ())
1158
+ Expect (cursor ).NotTo (BeZero ())
1157
1159
})
1158
1160
1159
1161
It ("should ZScan" , func () {
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ var _ = Describe("ScanIterator", func() {
99
99
Expect (vals ).To (ContainElement ("x" ))
100
100
})
101
101
102
- It ("should hscan without values across multiple pages" , func () {
102
+ It ("should hscan without values across multiple pages" , Label ( "NonRedisEnterprise" ), func () {
103
103
Expect (hashSeed (71 )).NotTo (HaveOccurred ())
104
104
105
105
var vals []string
You can’t perform that action at this time.
0 commit comments