Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_o3db_sync/tests/main.rs

1.1 KiB, 26 runs

created by r1870400018:838, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1mod basic;
2mod chunk_leak;
3mod chunked_value;
4mod dal;
5mod delete_replay;
6mod durability;
7mod perf;
8mod rollover;
9mod scan;
10mod scan_torn_tail;
11
12use oxedyne_fe2o3_core::prelude::*;
13
14
15#[test]
16fn main() -> Outcome<()> {
17
18 // Separate the tests out to a run_tests function so that we can funnel any outcome, be it an
19 // error or ok, back into this function before closing out with a single call to log_finish_wait! to
20 // allow logger thread completion. Otherwise, we may not see all the logger output before the
21 // main thread finishes.
22
23 log_set_level!("trace");
24
25 let outcome = run_tests();
26
27 log_finish_wait!();
28
29 outcome
30}
31
32fn run_tests() -> Outcome<()> {
33
34 let filter = "all";
35 res!(chunk_leak::test_chunk_leak(filter));
36 res!(rollover::test_rollover(filter));
37 res!(basic::test_basic(filter));
38 res!(dal::test_docs(filter));
39 res!(scan::test_scan(filter));
40 res!(scan_torn_tail::test_scan_torn_tail(filter));
41 res!(durability::test_durability(filter));
42 res!(delete_replay::test_delete_replay(filter));
43 res!(chunked_value::test_chunked_value(filter));
44 //res!(perf::test_perf("all"));
45
46 Ok(())
47}