mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Skip flaky tests.
This commit is contained in:
@ -57,16 +57,20 @@ var _ = Describe("Commands", func() {
|
||||
})
|
||||
|
||||
It("should BgRewriteAOF", func() {
|
||||
r := client.BgRewriteAOF()
|
||||
Expect(r.Err()).NotTo(HaveOccurred())
|
||||
Expect(r.Val()).To(ContainSubstring("Background append only file rewriting"))
|
||||
Skip("flaky test")
|
||||
|
||||
val, err := client.BgRewriteAOF().Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(val).To(ContainSubstring("Background append only file rewriting"))
|
||||
})
|
||||
|
||||
It("should BgSave", func() {
|
||||
Skip("flaky test")
|
||||
|
||||
// workaround for "ERR Can't BGSAVE while AOF log rewriting is in progress"
|
||||
Eventually(func() string {
|
||||
return client.BgSave().Val()
|
||||
}, "10s").Should(Equal("Background saving started"))
|
||||
}, "30s").Should(Equal("Background saving started"))
|
||||
})
|
||||
|
||||
It("should ClientKill", func() {
|
||||
|
Reference in New Issue
Block a user