diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-04-01 15:48:30 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-04-01 16:00:57 -0700 |
commit | ebcc5b45adfb1d04af98356d867e9221ecdc9b70 (patch) | |
tree | de4ac8b1604b6136ce6275f3efdf68cc4bf6a18e | |
parent | e5bf7b7207d69daf1c3537797aeeab2642f19514 (diff) | |
download | unicorn-ebcc5b45adfb1d04af98356d867e9221ecdc9b70.tar.gz |
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.
-rwxr-xr-x | script/isolate_for_tests | 4 | ||||
-rwxr-xr-x | 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" |