File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,11 +169,11 @@ testParallelizingTasks = assert $ do
169
169
a <- actual
170
170
let ids = map fromIdNumber a
171
171
vals = map fromResult a
172
- return $ (sort ids == [1 , 2 , 3 ]) &&
173
- (sort vals == [" A" , " B" , " C " ])
172
+ return $ (sort ids == [1 , 2 ]) &&
173
+ (sort vals == [" A" , " B" ])
174
174
where actual = (fromJust . fromByteString . fromJust) <$> (flip (callWithBatchStrategy parallelize) input =<< methods)
175
- input = encode [ lockRequest 1 , lockRequest 2 , unlockRequest (String " A" )
176
- , unlockRequest (String " B" ), unlockRequest ( String " C " ), lockRequest 3 ]
175
+ input = encode [ lockRequest 1 , unlockRequest (String " A" )
176
+ , unlockRequest (String " B" ), lockRequest 2 ]
177
177
lockRequest i = TestRequest " lock" Nothing (Just $ IdNumber i)
178
178
unlockRequest str = TestRequest " unlock" (Just $ Right $ V. fromList [str]) Nothing
179
179
methods = createMethods <$> newEmptyMVar
You can’t perform that action at this time.
0 commit comments