Skip to content

Commit

Permalink
add dir to test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMenko committed Sep 25, 2023
1 parent faeca94 commit cfe22f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/delete_padded_identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ async fn delete_padded_identity() -> anyhow::Result<()> {
let port = db_container.port();
let db_url = format!("postgres://postgres:postgres@localhost:{port}/database");

let temp_dir = tempfile::tempdir()?;
info!(
"temp dir created at: {:?}",
temp_dir.path().join("testfile")
);

let mut options = Options::try_parse_from([
"signup-sequencer",
"--identity-manager-address",
Expand Down Expand Up @@ -72,6 +78,8 @@ async fn delete_padded_identity() -> anyhow::Result<()> {
&micro_oz.endpoint(),
"--oz-address",
&format!("{:?}", micro_oz.address()),
"--dense-tree-mmap-file",
temp_dir.path().join("testfile").to_str().unwrap(),
])
.context("Failed to create options")?;

Expand Down

0 comments on commit cfe22f0

Please sign in to comment.