make test fails behind a proxy - #61473
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #61473 +/- ##
==========================================
- Coverage 90.32% 90.32% -0.01%
==========================================
Files 760 760
Lines 248553 248553
Branches 46910 46908 -2
==========================================
- Hits 224510 224509 -1
+ Misses 15462 15459 -3
- Partials 8581 8585 +4 🚀 New features to boost your workflow:
|
|
I ran into the To add a data point: I reproduced the failure with a live local forward proxy and verified this PR's approach fixes it. With With |
This comment was marked as outdated.
This comment was marked as outdated.
Some client-proxy tests set HTTP_PROXY variable in the environment. It's OK in general, however, in some specific cases, the user might have already defined his own http_proxy setting in the environment. The lowercase user setting takes precedence and leads to a test failure. The fix cleans up the environment to avoid an interaction between user and test proxy settings. PR-URL: nodejs#61473 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
|
I rebased the commit and force pushed to your branch, however this PR is not landable due to the lack of |
make test fails behind a proxy
Running tests behind proxy fails when http_proxy and https_proxy variables are defined in the user environment.
Please see below relevant snippets of the output of
make -j2 test.This is on Linux.