Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Fix expected failure type random selector (#20652)
## Description The change of this code block from `Ok(rand::random())` to a custom selector logic overlooked the fact that we must avoid re-selecting variant `0`, as variant `0` is the random variant, causing the code to hit an `unreachable` block meant to avoid infinte recursion. ## Test plan Re-run test --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
- Loading branch information