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