radicle-heartwood-lfs/radicle-node/src/test
Slack Coder c676d8b99a node: Set test peer's time on creation
Allow setting a test peer's local time to avoid slight race conditions in
tests.  The race condition's happen because peers created within a test may
unexpectedly have slightly different local times.

To support this, a struct is used as argument to peer::config(..).  The
linter 'cargo clippy' will complain if instead of using a struct, the local
time is passed as an additional parameter in config()'s function call.

Signed-off-by: Slack Coder <slackcoder@server.ky>
2022-12-09 13:14:41 -05:00
..
arbitrary.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
gossip.rs Add `Signer::try_sign` method and cleanup usage 2022-11-03 10:12:22 +01:00
handle.rs Consolidate `node::Handle` traits into one 2022-12-09 10:52:18 +01:00
logger.rs Activate lint for dead-code checking 2022-10-18 13:03:34 +02:00
peer.rs node: Set test peer's time on creation 2022-12-09 13:14:41 -05:00
simulator.rs Two-stage connectivity with handshake 2022-11-21 16:05:53 +01:00