feat: improve e2e framework and implement key_resharing, cancellation_of_resharing tests#2761
feat: improve e2e framework and implement key_resharing, cancellation_of_resharing tests#2761anodar wants to merge 2 commits intoanodar/tests_basic_testsfrom
Conversation
…g tests Framework: - Options pattern for setup_cluster, shared test helpers in common.rs - Full resharing suite: begin_resharing with attestation wait, epoch ID fix, participant ID preservation, participants-first voting, client_for_voting - vote_cancel_resharing_from, reset_and_start_nodes, reset_mpc_state - build-contract-wasm cargo make task, nextest e2e test group Tests ported from pytest: - key_resharing: 4 resharing rounds (expand, shrink, re-add, threshold increase) - cancellation_of_resharing: cancel stalled resharing, verify epoch tracking, retry with fresh node
|
PR title type suggestion: This PR changes only test files, so the type prefix should probably be Suggested title: |
Code ReviewReviewed the two new e2e test files ( No critical issues found. The tests are well-structured, properly use unique port seeds, and follow project conventions for test code (raw arithmetic, panics for assertions). The resharing and cancellation flows are thoroughly exercised with liveness checks after each state transition. Minor (non-blocking): ✅ Approved |
|
PR title type suggestion: This PR changes only test files, so the type prefix should probably be Suggested title: |
Work towards: #2684
Tests ported from pytest: