Skip to content

Commit

Permalink
server-test: prop_unidirectional_Sim use NonFailingBearerInfoScript
Browse files Browse the repository at this point in the history
This simulation is not designed to handle errors.
  • Loading branch information
coot authored and bolt12 committed Sep 23, 2021
1 parent 26606fc commit 136d687
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -818,8 +818,8 @@ unidirectionalExperiment timeouts snocket socket clientAndServerData = do
(property True)
$ zip rs (expectedResult clientAndServerData clientAndServerData)

prop_unidirectional_Sim :: AbsBearerInfo -> ClientAndServerData Int -> Property
prop_unidirectional_Sim absBi clientAndServerData =
prop_unidirectional_Sim :: NonFailingBearerInfoScript -> ClientAndServerData Int -> Property
prop_unidirectional_Sim (NonFailingBearerInfoScript script) clientAndServerData =
simulatedPropertyWithTimeout 7200 $
withSnocket nullTracer
(Script (toBearerInfo absBi :| [noAttenuation])) $ \snock ->
Expand Down

0 comments on commit 136d687

Please sign in to comment.