@@ -214,53 +214,6 @@ var _ = Describe("races", func() {
214214 Expect (val ).To (Equal (int64 (C * N )))
215215 })
216216
217- It ("should Pipeline" , func () {
218- perform (C , func (id int ) {
219- pipe := client .Pipeline ()
220- for i := 0 ; i < N ; i ++ {
221- pipe .Echo (ctx , fmt .Sprint (i ))
222- }
223-
224- cmds , err := pipe .Exec (ctx )
225- Expect (err ).NotTo (HaveOccurred ())
226- Expect (cmds ).To (HaveLen (N ))
227-
228- for i := 0 ; i < N ; i ++ {
229- Expect (cmds [i ].(* redis.StringCmd ).Val ()).To (Equal (fmt .Sprint (i )))
230- }
231- })
232- })
233-
234- It ("should Pipeline" , func () {
235- pipe := client .Pipeline ()
236- perform (N , func (id int ) {
237- pipe .Incr (ctx , "key" )
238- })
239-
240- cmds , err := pipe .Exec (ctx )
241- Expect (err ).NotTo (HaveOccurred ())
242- Expect (cmds ).To (HaveLen (N ))
243-
244- n , err := client .Get (ctx , "key" ).Int64 ()
245- Expect (err ).NotTo (HaveOccurred ())
246- Expect (n ).To (Equal (int64 (N )))
247- })
248-
249- It ("should TxPipeline" , func () {
250- pipe := client .TxPipeline ()
251- perform (N , func (id int ) {
252- pipe .Incr (ctx , "key" )
253- })
254-
255- cmds , err := pipe .Exec (ctx )
256- Expect (err ).NotTo (HaveOccurred ())
257- Expect (cmds ).To (HaveLen (N ))
258-
259- n , err := client .Get (ctx , "key" ).Int64 ()
260- Expect (err ).NotTo (HaveOccurred ())
261- Expect (n ).To (Equal (int64 (N )))
262- })
263-
264217 PIt ("should BLPop" , func () {
265218 var received uint32
266219
0 commit comments