Skip to content

bump command timeout #462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test-utils/src/dev/test_cmds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub const EXIT_USAGE: u32 = 2;
* This is important because a bug might actually cause this test to start one
* of the servers and run it indefinitely.
*/
const TIMEOUT: Duration = Duration::from_millis(10000);
const TIMEOUT: Duration = Duration::from_millis(60000);

pub fn path_to_executable(cmd_name: &str) -> PathBuf {
let mut rv = PathBuf::from(cmd_name);
Expand Down Expand Up @@ -79,7 +79,7 @@ pub fn run_command(exec: Exec) -> (ExitStatus, String, String) {
.unwrap_or_else(|_| panic!("failed to start command: {}", cmdline));

let exit_status = subproc
.wait_timeout(TIMEOUT)
.wait_timeout(timeout)
.unwrap_or_else(|_| panic!("failed to wait for command: {}", cmdline))
.unwrap_or_else(|| {
panic!(
Expand Down