mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Change comment
This commit is contained in:
parent
f7591c2119
commit
03f7efc846
1 changed files with 10 additions and 4 deletions
|
@ -264,11 +264,17 @@ class TestClient(TestCase):
|
|||
self.assertEquals(mock_send.call_count, 5)
|
||||
|
||||
def test_send_command_close_failure_recovers(self):
|
||||
"""Test when the .close on a connection fails and a .send follows suit.
|
||||
"""
|
||||
Validates the resilience of the connection handling mechanism
|
||||
during command execution on retry.
|
||||
|
||||
Scenario:
|
||||
Initialization succeeds
|
||||
Send command fails (with 2400 code) prompting retry
|
||||
Client closes and re-initializes, and command succeeds"""
|
||||
- Initialization of the connection is successful.
|
||||
- An attempt to send a command fails with a specific error code (ConcurrentObjectUseError)
|
||||
- The client attempts to retry.
|
||||
- Subsequently, the client re-initializes the connection.
|
||||
- A retry of the command execution post-reinitialization succeeds.
|
||||
"""
|
||||
|
||||
expected_result = self.get_fake_epp_result()
|
||||
wrapper = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue