Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[e2e] Enhance post-test bootstrap checks #3253

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

marun
Copy link
Contributor

@marun marun commented Jul 31, 2024

Why this should be merged

As per a request for hypersdk, this PR updates the bootstrap checks at the end of relevant tests to bootstrap all subnets and return a successfully bootstrapped node for further evaluation.

How this works

  • bootstrap all subnets
  • enable post-bootstrap interaction with the node by returning it from the check function and ensuring the node is only stopped at the end of the test
  • add bootstrap check to xsvm e2e

How this was tested

CI

@marun marun added the testing This primarily focuses on testing label Jul 31, 2024
@marun marun self-assigned this Jul 31, 2024
@marun marun requested a review from abi87 as a code owner July 31, 2024 01:23
@@ -185,34 +191,41 @@ func WithSuggestedGasPrice(ethClient ethclient.Client) common.Option {
return common.WithBaseFee(baseFee)
}

// Verify that a new node can bootstrap into the network. This function is safe to call
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This avoidance of ginkgo.DeferCleanup was in service of a PR that has since been closed, so it is no longer relevant.

marun added 2 commits July 30, 2024 18:30
 - bootstrap all subnets (a request for hypersdk)
 - enable post-bootstrap interaction with the node by returning it
   from the check function and ensuring the node is only stopped at
   the end of the test (a request for hypersdk)
 - add bootstrap check to xsvm e2e
@marun marun force-pushed the e2e-enhance-bootstrap-check branch from 6dee74f to f578241 Compare July 31, 2024 01:31
@StephenButtolph StephenButtolph added this to the v1.11.11 milestone Aug 2, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Aug 2, 2024
Merged via the queue into master with commit 312808d Aug 2, 2024
20 checks passed
@StephenButtolph StephenButtolph deleted the e2e-enhance-bootstrap-check branch August 2, 2024 17:05
marun added a commit that referenced this pull request Aug 8, 2024
marun added a commit that referenced this pull request Aug 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants