Skip to content

Commit

Permalink
p2p-governor: prop_governor_nolivelock - use timeout
Browse files Browse the repository at this point in the history
Use QuickCheck timeout of 10s on each test case.
  • Loading branch information
coot authored and karknu committed Jan 26, 2021
1 parent 650432c commit a08c087
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -5,6 +5,7 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GeneralisedNewtypeDeriving #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE NumericUnderscores #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}

Expand Down Expand Up @@ -547,6 +548,7 @@ pickMapKeys m ns =
-- TODO: Reenable this testcase.
prop_governor_nolivelock :: GovernorMockEnvironment -> Property
prop_governor_nolivelock env =
within 10_000_000 $
let trace = takeFirstNHours 24 .
selectGovernorEvents .
selectPeerSelectionTraceEvents $
Expand Down

0 comments on commit a08c087

Please sign in to comment.