From: Arik Sosman Date: Fri, 8 Sep 2023 17:47:11 +0000 (-0700) Subject: Use schema as test logger id. X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=93477215981ebc3cd0887f8a9e95c7e818f24f28;p=rapid-gossip-sync-server Use schema as test logger id. --- diff --git a/src/types.rs b/src/types.rs index 3e3d8c3..f530bd4 100644 --- a/src/types.rs +++ b/src/types.rs @@ -51,7 +51,8 @@ pub mod tests { impl TestLogger { pub fn new() -> TestLogger { - Self::with_id("".to_owned()) + let id = crate::tests::db_test_schema(); + Self::with_id(id) } pub fn with_id(id: String) -> TestLogger { TestLogger {