about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-04 00:16:51 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-04 00:18:05 +0000
commite93d93d7deb29b09dd68abfddd8a34cec8fed9b3 (patch)
tree56917a20c7635de08b0f7bc61164e180ddb687b7 /t
parent6d62a7de86369e046e6f6b221153d867df11e74c (diff)
downloadrainbows-e93d93d7deb29b09dd68abfddd8a34cec8fed9b3.tar.gz
Some testers (like myself) use http_proxy when isolating
gems to avoid wasting bandwidth, but we don't proxy requests
to localhost.
Diffstat (limited to 't')
-rw-r--r--t/test-lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 5cf5201..4218dff 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -3,6 +3,12 @@
 . ./my-tap-lib.sh
 
 set +u
+
+# sometimes we rely on http_proxy to avoid wasting bandwidth with Isolate
+# and multiple Ruby versions
+NO_PROXY=${UNICORN_TEST_ADDR-127.0.0.1}
+export NO_PROXY
+
 if test -z "$model"
 then
         # defaulting to Base would unfortunately fail some concurrency tests