|
rippled
|
Test cases: LedgerReplayer_test: – process TMProofPathRequest and TMProofPathResponse – process TMReplayDeltaRequest and TMReplayDeltaResponse – update and merge LedgerReplayTask::TaskParameter – process [ledger_replay] section in config – peer handshake – replay a range of ledgers that the local node already has – replay a range of ledgers and fallback to InboundLedgers because peers do not support ProtocolFeature::LedgerReplay – replay a range of ledgers and the network drops or repeats messages – call stop() and the tasks and subtasks are removed – process a bad skip list – process a bad ledger delta – replay ledger ranges with different overlaps. More...


Public Member Functions | |
| void | testProofPath () |
| void | testReplayDelta () |
| void | testTaskParameter () |
| void | testConfig () |
| void | testHandshake () |
| void | testAllLocal (int totalReplay) |
| void | testAllInboundLedgers (int totalReplay) |
| void | testPeerSetBehavior (PeerSetBehavior peerSetBehavior, int totalReplay=4) |
| void | testStop () |
| void | testSkipListBadReply () |
| void | testLedgerDeltaBadReply () |
| void | testLedgerReplayOverlap () |
| void | run () override |
Test cases: LedgerReplayer_test: – process TMProofPathRequest and TMProofPathResponse – process TMReplayDeltaRequest and TMReplayDeltaResponse – update and merge LedgerReplayTask::TaskParameter – process [ledger_replay] section in config – peer handshake – replay a range of ledgers that the local node already has – replay a range of ledgers and fallback to InboundLedgers because peers do not support ProtocolFeature::LedgerReplay – replay a range of ledgers and the network drops or repeats messages – call stop() and the tasks and subtasks are removed – process a bad skip list – process a bad ledger delta – replay ledger ranges with different overlaps.
LedgerReplayerTimeout_test: – timeouts of SkipListAcquire – timeouts of LedgerDeltaAcquire
LedgerReplayerLong_test: (MANUAL) – call replayer.replay() 4 times to replay 1000 ledgers
Definition at line 882 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testProofPath | ( | ) |
Definition at line 885 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testReplayDelta | ( | ) |
Definition at line 949 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testTaskParameter | ( | ) |
Definition at line 1002 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testConfig | ( | ) |
Definition at line 1055 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testHandshake | ( | ) |
Definition at line 1085 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testAllLocal | ( | int | totalReplay | ) |
Definition at line 1127 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testAllInboundLedgers | ( | int | totalReplay | ) |
Definition at line 1169 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testPeerSetBehavior | ( | PeerSetBehavior | peerSetBehavior, |
| int | totalReplay = 4 |
||
| ) |
Definition at line 1199 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testStop | ( | ) |
Definition at line 1251 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testSkipListBadReply | ( | ) |
Definition at line 1281 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testLedgerDeltaBadReply | ( | ) |
Definition at line 1326 of file LedgerReplay_test.cpp.
| void ripple::test::LedgerReplayer_test::testLedgerReplayOverlap | ( | ) |
Definition at line 1361 of file LedgerReplay_test.cpp.
|
override |
Definition at line 1447 of file LedgerReplay_test.cpp.
1.8.17