radicle-heartwood-lfs/radicle-node/src
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
..
address node: Add tracking configuration store 2022-12-07 15:41:56 +01:00
client Consolidate `node::Handle` traits into one 2022-12-09 10:52:18 +01:00
service node: Add tracking configuration store 2022-12-07 15:41:56 +01:00
test node: Set test peer's time on creation 2022-12-09 13:14:41 -05:00
wire Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
address.rs Remove unused type 2022-10-18 12:37:01 +02:00
bounded.rs node: Document and test `BoundedVec` 2022-12-01 21:04:50 +01:00
client.rs node: Remove `RefClock` 2022-12-07 16:06:35 +01:00
clock.rs node: Remove `RefClock` 2022-12-07 16:06:35 +01:00
control.rs Consolidate `node::Handle` traits into one 2022-12-09 10:52:18 +01:00
deserializer.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
lib.rs node: Define naive message vector limits 2022-12-01 14:54:40 +01:00
logger.rs node: Rename folder to `radicle-node` 2022-09-21 11:38:09 +02:00
main.rs node: Define naive message vector limits 2022-12-01 14:54:40 +01:00
service.rs cli: Implement tracking correctly 2022-12-09 10:52:18 +01:00
sql.rs Use database transactions where appropriate 2022-11-08 09:39:23 +01:00
test.rs Make `track` functions return correctly 2022-11-09 13:29:54 +01:00
tests.rs node: Set test peer's time on creation 2022-12-09 13:14:41 -05:00
wire.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00