From ebcc5b45adfb1d04af98356d867e9221ecdc9b70 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 1 Apr 2011 15:48:30 -0700 Subject: bump dependencies for testing No need to use an ancient Rack now that we've dropped Rails 2.3.x tests. We need to remember that Rack 1.1.0 doesn't support input#size. --- script/isolate_for_tests | 4 ++-- t/t0100-rack-input-tests.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/isolate_for_tests b/script/isolate_for_tests index 28ec683..b277a1f 100755 --- a/script/isolate_for_tests +++ b/script/isolate_for_tests @@ -17,8 +17,8 @@ opts = { pid = fork do Isolate.now!(opts) do gem 'sqlite3-ruby', '1.2.5' - gem 'kgio', '2.3.2' - gem 'rack', '1.1.0' + gem 'kgio', '2.3.3' + gem 'rack', '1.2.2' end end _, status = Process.waitpid2(pid) diff --git a/t/t0100-rack-input-tests.sh b/t/t0100-rack-input-tests.sh index 1cd9279..13d4207 100755 --- a/t/t0100-rack-input-tests.sh +++ b/t/t0100-rack-input-tests.sh @@ -7,7 +7,7 @@ t_plan 10 "rack.input read tests" t_begin "setup and startup" && { rtmpfiles curl_out curl_err unicorn_setup - unicorn -D rack-input-tests.ru -c $unicorn_config + unicorn -E none -D rack-input-tests.ru -c $unicorn_config blob_sha1=$(rsha1 < random_blob) blob_size=$(wc -c < random_blob) t_info "blob_sha1=$blob_sha1" -- cgit v1.2.3-24-ge0c7