Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patches flaky test_rpc_slot_updates (#26593)
test_rpc_slot_updates fails if SlotUpdate::Completed is received after SlotUpdate::Frozen: https://github.com/solana-labs/solana/blob/dcfd823ca/rpc-test/tests/rpc.rs#L198-L228 However, SlotUpdate::Completed is sent asynchronous to banking-stage and replay when shreds are inserted into blockstore. When the leader generates blocks, replay may freeze the bank before shreds are all inserted into blockstore; and so SlotUpdate::Completed may be received _after_ SlotUpdate::Frozen. The commit removes the ordering check for SlotUpdate::Completed.
- Loading branch information