Skip to content

Commit

Permalink
also move time test output to under "logs"
Browse files Browse the repository at this point in the history
  • Loading branch information
shortishly committed Sep 2, 2024
1 parent e0d9640 commit a485ab2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tansu-storage/src/index/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ mod tests {
thread::current()
.name()
.ok_or(Error::Message(String::from("unnamed thread")))
.and_then(|name| File::create(format!("test-{}.log", name)).map_err(Into::into))
.and_then(|name| {
File::create(format!("../logs/{}/{name}.log", env!("CARGO_PKG_NAME")))
.map_err(Into::into)
})
.map(Arc::new)?,
)
.finish();
Expand Down

0 comments on commit a485ab2

Please sign in to comment.