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 876 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testProofPath | ( | ) |
Definition at line 879 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testReplayDelta | ( | ) |
Definition at line 943 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testTaskParameter | ( | ) |
Definition at line 996 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testConfig | ( | ) |
Definition at line 1049 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testHandshake | ( | ) |
Definition at line 1079 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testAllLocal | ( | int | totalReplay | ) |
Definition at line 1121 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testAllInboundLedgers | ( | int | totalReplay | ) |
Definition at line 1163 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testPeerSetBehavior | ( | PeerSetBehavior | peerSetBehavior, |
int | totalReplay = 4 |
||
) |
Definition at line 1193 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testStop | ( | ) |
Definition at line 1245 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testSkipListBadReply | ( | ) |
Definition at line 1275 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testLedgerDeltaBadReply | ( | ) |
Definition at line 1320 of file LedgerReplay_test.cpp.
void ripple::test::LedgerReplayer_test::testLedgerReplayOverlap | ( | ) |
Definition at line 1355 of file LedgerReplay_test.cpp.
|
override |
Definition at line 1441 of file LedgerReplay_test.cpp.