Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[NC-2005] Implemented --p2p-enabled configuration item #619

Merged
merged 15 commits into from
Jan 22, 2019

Conversation

mark-terry
Copy link
Contributor

PR description

Implemented a --p2p-enabled configuration item, that enables the complete disabling of the p2p functionality within Pantheon.

Fixed Issue(s)

#NC-2005

@@ -528,6 +529,35 @@ public void genesisPathDisabledUnderDocker() {
assertThat(commandOutput.toString()).isEmpty();
}

@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need a test to verify that the default behaviour when --p2p-enabled isn't used is p2p-enabled = true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Being implicitly tested now as part of the Runner tests.

Copy link
Contributor

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

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

A couple of suggestions but it looks good.

@mark-terry mark-terry merged commit 6063b63 into PegaSysEng:master Jan 22, 2019
@mark-terry mark-terry deleted the NC-2005 branch January 22, 2019 04:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants