Check that TCP_NODELAY is set on upstream sockets on reconnection

Also rationalize the test to see if a function has been called.  Still
not great, but getting there :)
This commit is contained in:
Patrick J Cherry
2018-02-09 10:26:08 +00:00
parent c053a54faa
commit 8e67180999
5 changed files with 70 additions and 37 deletions

View File

@@ -1,8 +1,11 @@
require 'test/unit'
require 'environment'
require 'ld_preload'
require 'proxy_tests'
class TestProxyMode < Test::Unit::TestCase
include LdPreload
include ProxyTests
def setup