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

[K8s][Tests] Add API to reset the network state for E2E tests #673

Open
5 tasks
okdas opened this issue Jul 10, 2024 · 0 comments
Open
5 tasks

[K8s][Tests] Add API to reset the network state for E2E tests #673

okdas opened this issue Jul 10, 2024 · 0 comments
Labels
loadtest Work related to load testing testing Test (or test utils) additions, fixes, improvements or other

Comments

@okdas
Copy link
Member

okdas commented Jul 10, 2024

Objective

We need a way to reset the network to a particular genesis app state to run specific tests (e.g. there should be a staked actor to unstake it).

Origin Document

https://www.notion.so/K8sNet-0bc00f33aa4549e7acf4e70be78c6cfc?pvs=4

Goals

  • Expose an API to reset the network.
  • Ideally, this API should work on both DevNet and LocalNet.
  • We need e2e tests isolated. Only after that work is done, we can have an isolated e2e tests.

Deliverables

  • A testutil package that restarts the validator with a desired state.

Non-goals / Non-deliverables

  • Switching tests to actually use this package. That work comes later.

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @okdas

@okdas okdas added testing Test (or test utils) additions, fixes, improvements or other loadtest Work related to load testing labels Jul 10, 2024
@okdas okdas added this to the Shannon Beta TestNet Launch milestone Jul 10, 2024
@okdas okdas self-assigned this Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loadtest Work related to load testing testing Test (or test utils) additions, fixes, improvements or other
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant