Use insta and criterion for main integration test and benches respectively.

docker/ci: Separate integration and unit tests and benches jobs.

Add directives to remove db before/after integration tests are performed.

Split start/run/stop phases; add more granular smoketests.

Split main integration tests into units for isolation.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-02 05:29:48 +00:00
1 parent 43f0882d83
commit 8d6bfde5a0
22 files changed
+373 -100

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ use tuwunel_core::{Result, debug, implement, info, warn};
use super::{
Db, Engine,
cf_opts::cf_options,
context,
db_opts::db_options,
descriptor::{self, Descriptor},
repair::repair,
@@ -23,6 +24,7 @@ pub(crate) async fn open(ctx: Arc<Context>, desc: &[Descriptor]) -> Result<Arc<S
let config = &server.config;
let path = &config.database_path;
context::before_open(&ctx, path)?;
let db_opts = db_options(
config,
&ctx.env.lock().expect("environment locked"),