-
Notifications
You must be signed in to change notification settings - Fork 818
Closed
Labels
enhancementNew feature or requestNew feature or requesttestingThis primarily focuses on testingThis primarily focuses on testing
Description
Context and scope
Remove Kurtosis tests and replace them with Ginkgo tests.
Namely, we should have the following test cases:
[ ] A network where one or more nodes is sendingAppGossip,AppRequestandAppResponsewith random payloads to other nodes. The nodes shouldn't crash.- Deferred until after Kurtosis deprecation due to the deprecation of the avalanche-byzantine docker image
- Existing test: RandomAppMsgs
- A network where multiple nodes have the same node ID (i.e. the same staking key/cert pair). All other nodes in the network should be connected to only one of the nodes that share a node ID.
- Existing test: DuplicateNodeID
- PR: e2e: Migrate duplicate node id test from kurtosis #1573
- A network where 2 nodes become validators. One remains online, and the other shuts down. After the end of the staking periods, the one that was online should have received a reward, and the other shouldn't have.
- Existing test: StakingRewardTests
- PR: e2e: Migrate staking rewards test from kurtosis #1767
- A C-Chain dynamic fees test where we assert that when gas usage is high, the gas price increases, and when gas usage decreases, the gas price decreases.
- Existing test: DynamicFees
- PR: e2e: Migrate dynamic fees test from kurtosis #1792
- An X-Chain workflow test where we send funds from one address to another, and do import/export transactions to the C-Chain and P-Chain.
- No existing test
- PR: e2e: Ensure interchain workflow coverage for X-Chain and C-Chain #1871
- A C-Chain workflow test where we send funds from one address to another, and do import/export transactions to the X-Chain and P-Chain.
- No existing test
- PR: e2e: Ensure interchain workflow coverage for X-Chain and C-Chain #1871
- A P-Chain workflow test where we add a node to the validator set, add a delegator for that node, and do import/export transactions to the X-Chain and C-Chain.
- No existing test
- PR: e2e: Ensure interchain workflow coverage for the P-Chain #1882
TODO
- Merge test PRs
- Ensure that new tests check that bootstrap is possible with the network state produced by the test
- Ensure coreth repo has been updated to run the new tests
- Remove Kurtosis jobs from avalanche repo
- Remove Kurtosis job from coreth repo
hexfusion
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttestingThis primarily focuses on testingThis primarily focuses on testing