Skip to content

Commit

Permalink
mkEqualizeConfig: set no timeout by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Jun 10, 2024
1 parent 54599f5 commit 75ccd6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Test/Tasty/Bench/Equalize.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Test.Tasty.Bench.Equalize (

import Control.DeepSeq (NFData)
import System.IO.Unsafe (unsafeInterleaveIO)
import Test.Tasty (Timeout, mkTimeout)
import Test.Tasty (Timeout (..))
import Test.Tasty.Bench (Benchmarkable, RelStDev (..), measureCpuTimeAndStDev, nf)

#ifdef DEBUG
Expand Down Expand Up @@ -41,7 +41,7 @@ mkEqualizeConfig fLow fHigh (low, high) =
, eqlFasterOnHigh = nf fHigh
, eqlLow = low
, eqlHigh = high
, eqlTimeout = mkTimeout 1e8
, eqlTimeout = NoTimeout
}

equalize :: EqualizeConfig -> IO [(Word, Word)]
Expand Down

0 comments on commit 75ccd6c

Please sign in to comment.