# Class e.p.h.t.t.TestElisaHttpClientPipeliningErrors(TestCase, SetupServerMixin):

Part of elisa.plugins.http_client.tests.test_http_client View In Hierarchy

This test case tests the ElisaHttpClient class with pipelining errors.

Line # | Kind | Name | Docs
--- | --- | --- | ---
949 | Method | setUp | Undocumented
952 | Method | tearDown | Undocumented
955 | Method | test_pipeline_with_errors | Test the pipelining with three requests. For the first request we get a

Inherited from SetupServerMixin:

Line # | Kind | Name | Docs
--- | --- | --- | ---
191 | Method | setUpClass | Undocumented
196 | Method | tearDownClass | Undocumented

def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_pipeline_with_errors(self):
Test the pipelining with three requests. For the first request we get a response, for the last two requests the server closes the connection without writing a response. This checks that the client doesn't get stuck retrying requests if the server is down.