Test that a disconnect after the write request but before the data is an error

This commit is contained in:
Alex Young
2012-07-03 15:25:39 +01:00
parent a767d4bc8c
commit d16aebf36e
13 changed files with 52 additions and 11 deletions

View File

@@ -50,6 +50,10 @@ class TestDestErrorHandling < Test::Unit::TestCase
end
def test_disconnect_before_write_reply_causes_error
run_fake( "source/close_after_write" )
end
private
def run_fake( name )
@env.run_fake( name, @env.ip, @env.port1 )