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

e2e: Switch to a default network node count of 2 #1928

Merged
merged 7 commits into from
Aug 31, 2023

Conversation

marun
Copy link
Contributor

@marun marun commented Aug 25, 2023

Why this should be merged

The current default of 5 nodes requires more resources and slows down test execution on resource-constrained CI workers.

How this works

Default test networks to 2 nodes.

How this was tested

CI

@marun marun added the testing This primarily focuses on testing label Aug 25, 2023
@marun marun self-assigned this Aug 25, 2023
@marun marun requested review from abi87 and gyuho as code owners August 25, 2023 17:59
@marun
Copy link
Contributor Author

marun commented Aug 25, 2023

e2e execution is at a new low of 7m (usually ranges between 8-10m).

@@ -28,7 +28,7 @@ import (
)

const (
DefaultNodeCount = 5
DefaultNodeCount = 2 // Minimum required to ensure connectivity-based health checks will pass
Copy link
Contributor

@hexfusion hexfusion Aug 25, 2023

Choose a reason for hiding this comment

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

even numbers give me the creeps :) How does 3 look?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure how to quantify your discomfort. Is it more than consensus convention? I don't think we're expecting scenarios in a standard e2e job that require more than the minimum number of nodes. And fwiw, this is just the default and doesn't preclude using however many nodes make sense for consensus-focused testing.

@StephenButtolph StephenButtolph added this to the v1.10.10 milestone Aug 30, 2023
@StephenButtolph StephenButtolph merged commit 7faba53 into dev Aug 31, 2023
16 checks passed
@StephenButtolph StephenButtolph deleted the e2e-two-node-network branch August 31, 2023 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants