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

Fix logging in shelley integration test cluster #1790

Merged
merged 2 commits into from
Jun 25, 2020

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Jun 24, 2020

Issue Number

ADP-302 / #1750

Overview

  1. Block forging and adoption was not being logged by the integration tests cluster. Fixed it. The default minimum severity for stdout remains as Error. The default minimum severity for the log file is Debug.

  2. This adds a passive node which the wallet connects to, rather than using the bft node. My hope is that this will cause transactions to be broadcast to all stake pools, meaning that transactions won't be lost with rollbacks. But in any case, this updated topology makes for a more "realistic" integration test.

@rvl rvl self-assigned this Jun 24, 2020
@rvl rvl force-pushed the rvl/adp-302/fix-integration-tests-logging branch from 4cc66ca to c4a2afc Compare June 24, 2020 06:51
@rvl rvl force-pushed the rvl/adp-302/fix-integration-tests-logging branch from c4a2afc to 472df30 Compare June 25, 2020 12:41
@rvl rvl marked this pull request as ready for review June 25, 2020 13:12
@KtorZ KtorZ added the RESOLVING ISSUE Mark a PR as resolving issues, for auto-generated CHANGELOG label Jun 25, 2020
@@ -409,6 +411,44 @@ withBFTNode tr baseDir (NodeParams severity systemStart (port, peers)) action =
name = "bft"
dir = baseDir </> name

withPassiveNode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be nice to add a comment explaining why we are using this indirection.

@KtorZ
Copy link
Member

KtorZ commented Jun 25, 2020

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 25, 2020

@iohk-bors iohk-bors bot merged commit 76f52e6 into master Jun 25, 2020
@iohk-bors iohk-bors bot deleted the rvl/adp-302/fix-integration-tests-logging branch June 25, 2020 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RESOLVING ISSUE Mark a PR as resolving issues, for auto-generated CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants