diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-06 08:04:20 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-09-06 08:04:20 +0200 |
| commit | 83ae1e6d35c6f7d4ecabc190c5d79f669ef4b2bd (patch) | |
| tree | 8be474c1c876126ba648432e68f97d223165c5f5 | |
| parent | f2568c8316805749fe616e3de08c3f7c2bec3680 (diff) | |
| download | rust-83ae1e6d35c6f7d4ecabc190c5d79f669ef4b2bd.tar.gz rust-83ae1e6d35c6f7d4ecabc190c5d79f669ef4b2bd.zip | |
give josh more time to start
| -rw-r--r-- | src/tools/miri/miri-script/src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/miri-script/src/commands.rs b/src/tools/miri/miri-script/src/commands.rs index b7031d9a3ee..e7a5b559195 100644 --- a/src/tools/miri/miri-script/src/commands.rs +++ b/src/tools/miri/miri-script/src/commands.rs @@ -102,8 +102,8 @@ impl Command { cmd.stdout(process::Stdio::null()); cmd.stderr(process::Stdio::null()); let josh = cmd.spawn().context("failed to start josh-proxy, make sure it is installed")?; - // Give it some time so hopefully the port is open. (10ms was not enough.) - thread::sleep(time::Duration::from_millis(100)); + // Give it some time so hopefully the port is open. (100ms was not enough.) + thread::sleep(time::Duration::from_millis(200)); // Create a wrapper that stops it on drop. struct Josh(process::Child); |
