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

Commit

Permalink
Merge pull request #3537 from input-output-hk/erikd/wallet-integration
Browse files Browse the repository at this point in the history
Disable the 'runActionCheck' wallet integration test
  • Loading branch information
erikd authored Sep 5, 2018
2 parents 9c71e1e + e2aa9b8 commit ac4f3ac
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 ac4f3ac

Please sign in to comment.