From 6aa8ec217362c058d37340a8ec314e68810e99a9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 22 Oct 2013 18:57:56 +0000 Subject: tests: do not lose exceptions on quit timeouts We should see the reason for test failures. --- test/test_server.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/test_server.rb') diff --git a/test/test_server.rb b/test/test_server.rb index 00e8a0a..6a3b1f1 100644 --- a/test/test_server.rb +++ b/test/test_server.rb @@ -60,9 +60,6 @@ class TestServer < Testcase _, status = Timeout.timeout(10) { Process.waitpid2(pid) } assert status.success?, status.inspect c.close - rescue => e - Yahns::Log.exception(Logger.new($stderr), "test", e) - raise end def test_input_body_true; input_body(true); end @@ -132,9 +129,6 @@ class TestServer < Testcase first = $1 assert rv assert_equal first, buf - rescue => e - Yahns::Log.exception(Logger.new($stderr), "test", e) - raise ensure c.close if c quit_wait(pid) -- cgit v1.2.3-24-ge0c7