Skip to content
Permalink
Browse files

use SQLite implementation instead of MVar in integration scenarios

  • Loading branch information...
KtorZ committed Jun 12, 2019
1 parent cd1534f commit 2cfce6391aa4635c1097860d4cec975c8980d6ef
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/http-bridge/test/integration/Main.hs
@@ -48,7 +48,7 @@ import Test.Integration.Framework.Request

import qualified Cardano.LauncherSpec as Launcher
import qualified Cardano.Wallet.Api.Server as Server
import qualified Cardano.Wallet.DB.MVar as MVar
import qualified Cardano.Wallet.DB.Sqlite as Sqlite
import qualified Cardano.Wallet.HttpBridge.Network as HttpBridge
import qualified Cardano.Wallet.HttpBridge.NetworkSpec as HttpBridge
import qualified Cardano.Wallet.HttpBridge.Transaction as HttpBridge
@@ -173,7 +173,7 @@ main = hspec $ do
-> Int
-> IO ()
cardanoWalletServer nl serverPort = void $ forkIO $ do
db <- MVar.newDBLayer
(_, db) <- Sqlite.newDBLayer Nothing
let tl = HttpBridge.newTransactionLayer
wallet <- newWalletLayer block0 db nl tl
Server.start (const $ pure ()) (Just serverPort) wallet

0 comments on commit 2cfce63

Please sign in to comment.
You can’t perform that action at this time.