Skip to content

Commit

Permalink
SCP-2920: Fix timeout from marlowe-test-long-running
Browse files Browse the repository at this point in the history
  • Loading branch information
koslambrou committed Oct 12, 2021
1 parent 1f20481 commit b8cdd09
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions marlowe/marlowe.cabal
Expand Up @@ -125,6 +125,7 @@ test-suite marlowe-test-long-running
websockets -any,
network -any,
openapi3 -any,
uuid -any,

test-suite marlowe-test
import: lang
Expand Down
6 changes: 4 additions & 2 deletions marlowe/test/Spec/PAB/Workflow.hs
Expand Up @@ -45,6 +45,8 @@ import Data.Aeson (decode)
import Data.ByteString.Builder (toLazyByteString)
import Data.Default (def)
import Data.Text.Encoding (encodeUtf8Builder)
import Data.UUID (UUID)
import qualified Data.UUID as UUID
import Plutus.Contract.Effects (aeDescription)
import Plutus.PAB.App (StorageBackend (..))
import Plutus.PAB.Run (runWithOpts)
Expand Down Expand Up @@ -166,8 +168,8 @@ marloweCompanionFollowerContractExample = do

pure ()

createArgs :: PubKeyHash -> PubKeyHash -> (AssocMap.Map Val.TokenName PubKeyHash, Marlowe.Contract)
createArgs investor issuer = (tokenNames, zcb) where
createArgs :: PubKeyHash -> PubKeyHash -> (UUID, AssocMap.Map Val.TokenName PubKeyHash, Marlowe.Contract)
createArgs investor issuer = (UUID.nil, tokenNames, zcb) where
tokenNames = AssocMap.fromList [("Lender", investor), ("Borrower", issuer)]
issuerAcc = Role "Borrower"
investorAcc = Role "Lender"
Expand Down
1 change: 1 addition & 0 deletions nix/pkgs/haskell/materialized-darwin/.plan.nix/marlowe.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nix/pkgs/haskell/materialized-linux/.plan.nix/marlowe.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8cdd09

Please sign in to comment.