Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Disable the 'runActionCheck' wallet integration test
Browse files Browse the repository at this point in the history
This test was highly un-reliable, failing in CI for no good reason
about 50% of the time. This test will be replaced.
  • Loading branch information
erikd committed Sep 5, 2018
1 parent 9c71e1e commit e2aa9b8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions wallet-new/integration/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,17 @@ main = do
printT "Starting deterministic tests."
hspec $ deterministicTests wRef walletClient manager

walletState <- initialWalletState walletClient
printT $ "The 'runActionCheck' tests were disabled because they were highly un-reliable."
when False $ do
walletState <- initialWalletState walletClient

printT $ "Initial wallet state: " <> show walletState
printT $ "Initial wallet state: " <> show walletState

-- some monadic fold or smth similar
void $ runActionCheck
walletClient
walletState
actionDistribution
-- some monadic fold or smth similar
void $ runActionCheck
walletClient
walletState
actionDistribution
where
orFail :: MonadFail m => Either String a -> m a
orFail =
Expand Down

0 comments on commit e2aa9b8

Please sign in to comment.