Skip to content

Commit

Permalink
remove temp file after compose.stop() is called
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpv committed Mar 31, 2023
1 parent 9e6de82 commit fc15fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdev/src/testing/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ impl IntegrationTest {
self.runner.remove()?;
compose.stop()?;
self.envs_dir.remove()?;
std::fs::remove_file(&compose.path)?;
}

Ok(())
Expand Down Expand Up @@ -197,7 +198,6 @@ impl Compose {

fn stop(&self) -> Result<()> {
// The config settings are not needed when stopping a compose setup.
std::fs::remove_file(&self.path)?;
self.run("Stopping", &["down", "--timeout", "0", "--volumes"], None)
}

Expand Down

0 comments on commit fc15fbd

Please sign in to comment.