diff options
| author | tv <tv@krebsco.de> | 2026-10-25 23:00:56 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-25 23:00:56 +0100 |
| commit | c52d4b5ae43c202569c8801c312c2b56954ff8a0 (patch) | |
| tree | dac7221b966d9f4fdb8e1b91b1e20bce607de6fc /src/simtest | |
| parent | 2f7265795b7f6ddf460bf93c5f880fb24bde9d3a (diff) | |
add clock module
The Clock module is the system clock that every unix timestamp new goes
through. It comes with an offset that only tests can set.
Diffstat (limited to 'src/simtest')
| -rw-r--r-- | src/simtest/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs index 18975aa..d458338 100644 --- a/src/simtest/mod.rs +++ b/src/simtest/mod.rs @@ -88,6 +88,7 @@ impl Sim { state_file: None, document_file: None, config_report: JsonValue::Null, + clock: Default::default(), }; adjust(&mut config); let state = Node::new(config).spawn_workers(); |
