about summary refs log tree commit homepage
path: root/test/test_proxy_pass_no_buffering.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-12 21:11:33 +0000
committerEric Wong <e@80x24.org>2016-07-12 21:13:20 +0000
commit946171bbc2e681cbab93863069767dd0fa4b6844 (patch)
treec2e2326ed3ac6df4ae04dd660b75cd05394e2fcf /test/test_proxy_pass_no_buffering.rb
parente6b13ef8ba6eaa3efe3808845ddfe7e0b7b1c46b (diff)
downloadyahns-946171bbc2e681cbab93863069767dd0fa4b6844.tar.gz
This allows us to work transparently with our OpenSSL
workaround[*] while allowing us to reuse our non-sendfile
compatibility code.  Unfortunately, this means we duplicate a
lot of code from the normal wbuf code for now; but that should
be fairly stable at this point.

[*] https://bugs.ruby-lang.org/issues/12085
Diffstat (limited to 'test/test_proxy_pass_no_buffering.rb')
-rw-r--r--test/test_proxy_pass_no_buffering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_proxy_pass_no_buffering.rb b/test/test_proxy_pass_no_buffering.rb
index 2dc3b0b..356623f 100644
--- a/test/test_proxy_pass_no_buffering.rb
+++ b/test/test_proxy_pass_no_buffering.rb
@@ -108,7 +108,7 @@ class TestProxyPassNoBuffering < Testcase
           [ deleted1, deleted2 ].each do |ary|
             ary.delete_if { |x| x =~ /\.(?:err|out|rb|ru) \(deleted\)/ }
           end
-          assert_equal 1, deleted1.size, "pid1=#{deleted1.inspect}"
+          assert_equal 0, deleted1.size, "pid1=#{deleted1.inspect}"
           assert_equal 0, deleted2.size, "pid2=#{deleted2.inspect}"
           bufs.push(deleted1[0])
         end