From 212f60d37fdfe684dbaed047391b4276a30d200b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 21 Jun 2010 03:24:06 +0000 Subject: test: no need for IO#sync=true in async-response tests We only read from the IO pipe and never write to it --- t/async-response-no-autochunk.ru | 1 - t/async-response.ru | 1 - 2 files changed, 2 deletions(-) diff --git a/t/async-response-no-autochunk.ru b/t/async-response-no-autochunk.ru index 67c6403..1eda553 100644 --- a/t/async-response-no-autochunk.ru +++ b/t/async-response-no-autochunk.ru @@ -12,7 +12,6 @@ EOF run lambda { |env| env['rainbows.autochunk'] = false io = IO.popen(script, 'rb') - io.sync = true [ 200, { diff --git a/t/async-response.ru b/t/async-response.ru index ef76504..b45f1b2 100644 --- a/t/async-response.ru +++ b/t/async-response.ru @@ -2,7 +2,6 @@ use Rack::Chunked use Rainbows::DevFdResponse run lambda { |env| io = IO.popen('for i in 0 1 2 3 4 5 6 7 8 9; do date; sleep 1; done', 'rb') - io.sync = true [ 200, { -- cgit v1.2.3-24-ge0c7