diff options
Diffstat (limited to 'crates/mozart-test-harness/src')
| -rw-r--r-- | crates/mozart-test-harness/src/runner.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/mozart-test-harness/src/runner.rs b/crates/mozart-test-harness/src/runner.rs index acff8b5..cefd50f 100644 --- a/crates/mozart-test-harness/src/runner.rs +++ b/crates/mozart-test-harness/src/runner.rs @@ -46,17 +46,9 @@ pub fn run_test(test: &ParsedTest, mozart_bin: &Path) -> Result<RunResult> { } let args: Vec<&str> = test.run.split_whitespace().collect(); - // Force a non-routable proxy so any stray HTTP request from `mozart` - // (e.g. inline `package` fixtures whose dist.url points at example.org) - // fails fast instead of hitting the network. Composer's PHPUnit suite - // uses InstallationManagerMock; we can't mock the binary's HTTP client, - // but `reqwest` honors HTTP(S)_PROXY env vars by default. let output = Command::new(mozart_bin) .args(&args) .current_dir(root) - .env("HTTP_PROXY", "http://127.0.0.1:1") - .env("HTTPS_PROXY", "http://127.0.0.1:1") - .env("NO_PROXY", "") .output() .with_context(|| format!("failed to invoke {}", mozart_bin.display()))?; |
