ic
ic copied to clipboard
test(recovery): distinguish tests for recoverable vs unrecoverable CUP corruptions
NOTE: This branch currently has the changes introduced by pierugo/orchestrator/return-subnet-id (#7868). Once the latter has merged, this will open and will contain only the contents of rs/tests/consensus.
This PR introduces a nuance in how we corrupt a CUP: whether we corrupt it in a way that can still determine the subnet or not. If yes, then the recovery should be fairly identical to a normal one: we can use the same nodes and provision SSH keys: sr_app_recoverable_corrupt_cup_with_chain_keys_test. If not, then we can neither provision SSH keys nor use the same nodes: sr_app_failover_nodes_test.