1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-14 01:21:30 +03:00

Add more race tests

This commit is contained in:
Vladimir Mihailenco
2018-05-17 14:36:51 +03:00
parent bc49453a24
commit 34facee367
4 changed files with 48 additions and 39 deletions

View File

@ -219,7 +219,7 @@ var _ = Describe("Commands", func() {
It("Should Command", func() {
cmds, err := client.Command().Result()
Expect(err).NotTo(HaveOccurred())
Expect(len(cmds)).To(BeNumerically("~", 185, 10))
Expect(len(cmds)).To(BeNumerically("~", 200, 20))
cmd := cmds["mget"]
Expect(cmd.Name).To(Equal("mget"))