Skip to content

Commit

Permalink
Use Discard feature rather than spuriously Succeeding
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterRugg committed Jan 15, 2025
1 parent 3643482 commit 7425819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/QuickCheckVEngine/MainHelpers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ prop connA m_connB alive onFail arch delay verbosity saveDir ignoreAsserts stric
-- We don't want to shrink once one of the implementations has died,
-- so always return that the property is true
onSubsequentDeaths _ = do
putStrLn "Warning: reporting success since implementations not running"
return $ property True
return $ property Discard

-- | Send a sequence of instructions ('[DII_Packet]') to the implementations
-- running behind the two provided 'Sockets's and recieve their respective
Expand Down

0 comments on commit 7425819

Please sign in to comment.