1
0
mirror of https://github.com/redis/go-redis.git synced 2025-09-07 07:47:24 +03:00

Fix flaky test

This commit is contained in:
Vladimir Mihailenco
2020-09-10 09:19:07 +03:00
parent 655eaaa39d
commit f82e4988ec

View File

@@ -35,8 +35,8 @@ var _ = Describe("Sentinel", func() {
})
AfterEach(func() {
Expect(client.Close()).NotTo(HaveOccurred())
Expect(master.Close()).NotTo(HaveOccurred())
_ = client.Close()
_ = master.Close()
})
It("should facilitate failover", func() {
@@ -135,8 +135,8 @@ var _ = Describe("NewFailoverClusterClient", func() {
})
AfterEach(func() {
Expect(client.Close()).NotTo(HaveOccurred())
Expect(master.Close()).NotTo(HaveOccurred())
_ = client.Close()
_ = master.Close()
})
It("should facilitate failover", func() {