diff --git a/vdev/src/testing/integration.rs b/vdev/src/testing/integration.rs index b0838cd62530b..9e44677b1d703 100644 --- a/vdev/src/testing/integration.rs +++ b/vdev/src/testing/integration.rs @@ -146,6 +146,7 @@ impl IntegrationTest { self.runner.remove()?; compose.stop()?; self.envs_dir.remove()?; + std::fs::remove_file(&compose.path)?; } Ok(()) @@ -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) }