Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use port 9090 on migration tests not to interfere with any wallet tests that run on default port #1662

Merged
merged 1 commit into from
May 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/jormungandr/test/migration/migration-test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ main = do

cfg <- defaultConfigStdout
withTrace cfg "migration-test" $ \tr ->
testMain @('Testnet 0) tr 8090 testAction launchArgs >>= exitWith
testMain @('Testnet 0) tr 9090 testAction launchArgs >>= exitWith

-- | Something to do while the server is running.
type TestAction (t :: NetworkDiscriminant) = Trace IO Text -> ApiBase -> IO ExitCode
Expand Down
2 changes: 1 addition & 1 deletion nix/launch-migration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ fi
cardano-wallet-jormungandr version
jormungandr --version

exec migration-test $1 launch --state-dir $stateDir --genesis-block $genesisDataDir/block0.bin -- --secret $genesisDataDir/secret.yaml --config $configFile
exec migration-test $1 launch --port 9090 --state-dir $stateDir --genesis-block $genesisDataDir/block0.bin -- --secret $genesisDataDir/secret.yaml --config $configFile