Skip to content

Commit

Permalink
Fix jormungandr invocation in launcher tests
Browse files Browse the repository at this point in the history
It was failing with this message printed repeatedly:

    Mar 19 23:15:23.900 ERRO trusted-peers cannot be empty. to avoid bootstrap use 'skip_bootstrap: true', task: bootstrap
    Mar 19 23:15:23.900 INFO bootstrap attempt #1 failed, trying again in 5 seconds..., task: bootstrap

Then jormungandr would never exit.
  • Loading branch information
rvl committed Mar 31, 2020
1 parent cd6b9d6 commit d44cc95
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec = do
, "--state-dir", f
, "--"
, "--secret", secret
, "--config", config
]
(Exit c, Stdout _, Stderr e) <- cardanoWalletCLI @t args
c `shouldBe` ExitFailure 1
Expand All @@ -108,6 +109,7 @@ spec = do
, "--genesis-block", block0
, "--"
, "--secret", secret
, "--config", config
]
(pure ())
Inherit
Expand All @@ -127,6 +129,7 @@ spec = do
, "--genesis-block", block0
, "--"
, "--secret", secret
, "--config", config
]
(pure ())
Inherit
Expand All @@ -143,6 +146,7 @@ spec = do
, "--genesis-block", block0'
, "--"
, "--secret", secret
, "--config", config
]
(Exit c, Stdout _, Stderr e) <- cardanoWalletCLI @t args
c `shouldBe` ExitFailure 1
Expand All @@ -155,6 +159,7 @@ spec = do
, "--genesis-block", secret
, "--"
, "--secret", secret
, "--config", config
]
(Exit c, Stdout o, Stderr _) <- cardanoWalletCLI @t args
c `shouldBe` ExitFailure 33
Expand Down

0 comments on commit d44cc95

Please sign in to comment.