Use schema as test logger id.
[rapid-gossip-sync-server] / src / types.rs
index 3e3d8c3317a2d622dd344dbab133449d05c54d62..f530bd41a112e41e082079e20fce4f19295c3877 100644 (file)
@@ -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 {