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

Reduced the number of validators in the Local Kube tests to 1. #3154

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

christos-h
Copy link
Contributor

Motivation

Having 4 validators for the kind tests is unnecessary. Storage service tests will catch any consensus related regressions.

Proposal

Reduce the number of validators to 1.

Test Plan

CI will catch regressions.

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Copy link
Contributor

@ndr-ds ndr-ds left a comment

Choose a reason for hiding this comment

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

Wait for CI and
shipit

@@ -97,7 +97,7 @@ impl SharedLocalKubernetesNetTestingConfig {
testing_prng_seed: Some(37),
num_other_initial_chains: 2,
initial_amount: Amount::from_tokens(2000),
num_initial_validators: 4,
num_initial_validators: 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

We could even do 2, I think, and it would probably still mitigate the issue (if we want to keep kind testing more than 1 validator still, but maybe that's not needed)

Copy link
Contributor

@ma2bd ma2bd Jan 20, 2025

Choose a reason for hiding this comment

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

In terms of test coverage, 2 is not better than 1, so I would pick 1

@christos-h christos-h force-pushed the change-local-kubernetes-validator-num branch from f776c02 to 7feffbc Compare January 23, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants