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: Add bootstrap checks to migrated kurtosis tests #1935

Merged
merged 13 commits into from
Sep 20, 2023

Conversation

marun
Copy link
Contributor

@marun marun commented Aug 27, 2023

Why this should be merged

One of the requirements of #1547 was to ensure that the new tests checked that the post-test network state was capable of bootstrapping a new node. With the merge of #1573 the testnet fixture supports adding node addition and this PR ensures that the 2 tests previously migrated from kurtosis are updated to perform a post-test bootstrap check. In-flight migration PRs will be updated to include the new check.

How this works

Add a new helper method to support post-test addition of a new node and checking that it becomes healthy (i.e. bootstraps successfully).

How this was tested

CI and locally checking that E2E_SKIP_BOOTSTRAP_CHECKS=1 was capable of disabling the bootstrap check during development.

TODO

@marun marun added testing This primarily focuses on testing e2e-migrate-kurtosis labels Aug 27, 2023
@marun marun self-assigned this Aug 27, 2023
@marun marun requested review from abi87 and gyuho as code owners August 27, 2023 19:49
@marun marun mentioned this pull request Aug 27, 2023
16 tasks
@marun marun marked this pull request as draft September 1, 2023 19:05
@marun
Copy link
Contributor Author

marun commented Sep 1, 2023

Rebased on #1941 and converted to draft to ensure that e2e failures are minimized.

@marun marun marked this pull request as ready for review September 7, 2023 02:13
@StephenButtolph StephenButtolph added this to the v1.10.11 milestone Sep 20, 2023
Copy link
Contributor

@StephenButtolph StephenButtolph left a comment

Choose a reason for hiding this comment

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

Super small comment cleanups

tests/e2e/faultinjection/duplicate_node_id.go Outdated Show resolved Hide resolved
tests/e2e/e2e.go Outdated Show resolved Hide resolved
Signed-off-by: Stephen Buttolph <[email protected]>
@StephenButtolph StephenButtolph merged commit 534a86e into dev Sep 20, 2023
16 checks passed
@StephenButtolph StephenButtolph deleted the e2e-add-bootstrap-check branch September 20, 2023 20:56
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.

4 participants