Skip to content

Commit

Permalink
Remove 1s sleep in DockerCompose::drop (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Sep 27, 2022
1 parent e62628f commit f97df89
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test-helpers/src/docker_compose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use regex::Regex;
use std::env;
use std::io::ErrorKind;
use std::process::Command;
use std::thread;
use std::time;
use subprocess::{Exec, Redirection};
use tracing::trace;
Expand Down Expand Up @@ -206,8 +205,6 @@ impl DockerCompose {
run_command("docker-compose", &["-f", file_path, "kill"])?;
run_command("docker-compose", &["-f", file_path, "down", "-v"])?;

thread::sleep(time::Duration::from_secs(1));

Ok(())
}
}
Expand Down

0 comments on commit f97df89

Please sign in to comment.