@@ -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 :
@@ -1141,7 +1141,7 @@ var _ = Describe("Commands", func() {
11411141 Expect (keys [1 ]).To (Equal ("hello" ))
11421142 })
11431143
1144- It ("should HScan without values" , func () {
1144+ It ("should HScan without values" , Label ( "NonRedisEnterprise" ), func () {
11451145 for i := 0 ; i < 1000 ; i ++ {
11461146 sadd := client .HSet (ctx , "myhash" , fmt .Sprintf ("key%d" , i ), "hello" )
11471147 Expect (sadd .Err ()).NotTo (HaveOccurred ())
@@ -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 () {
0 commit comments