remove tests from RE (#3035)

This commit is contained in:
ofekshenawa 2024-06-20 02:25:49 +03:00 committed by GitHub
parent 097cddbeb0
commit 445d2667eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -193,7 +193,7 @@ var _ = Describe("Commands", func() {
Expect(r.Val()).To(Equal(int64(0))) Expect(r.Val()).To(Equal(int64(0)))
}) })
It("should ClientKillByFilter with MAXAGE", func() { It("should ClientKillByFilter with MAXAGE", Label("NonRedisEnterprise"), func() {
var s []string var s []string
started := make(chan bool) started := make(chan bool)
done := make(chan bool) done := make(chan bool)
@ -217,7 +217,7 @@ var _ = Describe("Commands", func() {
killed := client.ClientKillByFilter(ctx, "MAXAGE", "1") killed := client.ClientKillByFilter(ctx, "MAXAGE", "1")
Expect(killed.Err()).NotTo(HaveOccurred()) Expect(killed.Err()).NotTo(HaveOccurred())
Expect(killed.Val()).To(Equal(int64(2))) Expect(killed.Val()).To(SatisfyAny(Equal(int64(2)), Equal(int64(3))))
select { select {
case <-done: case <-done:
@ -1141,7 +1141,7 @@ var _ = Describe("Commands", func() {
Expect(keys[1]).To(Equal("hello")) Expect(keys[1]).To(Equal("hello"))
}) })
It("should HScan without values", func() { It("should HScan without values", Label("NonRedisEnterprise"), func() {
for i := 0; i < 1000; i++ { for i := 0; i < 1000; i++ {
sadd := client.HSet(ctx, "myhash", fmt.Sprintf("key%d", i), "hello") sadd := client.HSet(ctx, "myhash", fmt.Sprintf("key%d", i), "hello")
Expect(sadd.Err()).NotTo(HaveOccurred()) Expect(sadd.Err()).NotTo(HaveOccurred())
@ -1154,6 +1154,8 @@ var _ = Describe("Commands", func() {
Expect(len(keys)).To(BeNumerically(">=", 2)) Expect(len(keys)).To(BeNumerically(">=", 2))
Expect(keys[0]).To(HavePrefix("key")) Expect(keys[0]).To(HavePrefix("key"))
Expect(keys[1]).To(HavePrefix("key")) Expect(keys[1]).To(HavePrefix("key"))
Expect(keys).NotTo(BeEmpty())
Expect(cursor).NotTo(BeZero())
}) })
It("should ZScan", func() { It("should ZScan", func() {

View File

@ -99,7 +99,7 @@ var _ = Describe("ScanIterator", func() {
Expect(vals).To(ContainElement("x")) Expect(vals).To(ContainElement("x"))
}) })
It("should hscan without values across multiple pages", func() { It("should hscan without values across multiple pages", Label("NonRedisEnterprise"), func() {
Expect(hashSeed(71)).NotTo(HaveOccurred()) Expect(hashSeed(71)).NotTo(HaveOccurred())
var vals []string var vals []string