Skip to content

Commit

Permalink
updated tests_disabled_tcpseg.json
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBelozerov committed May 3, 2023
1 parent 714d298 commit ca1fb04
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework/deproxy_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def handle_write(self):
for i in range(0, len(reqs[self.cur_req_num]), self.segment_size)
]:
sent = self.socket.send(chunk)
except BrokenPipeError as e:
except ConnectionError as e:
tf_cfg.dbg(4, f"\tDeproxy: Client: Received error - {e}.")
else:
sent = self.send(reqs[self.cur_req_num])
Expand Down
2 changes: 1 addition & 1 deletion framework/deproxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def initiate_send(self):
]:
try:
self.socket.send(chunk)
except ConnectionResetError as e:
except ConnectionError as e:
tf_cfg.dbg(4, f"\tDeproxy: Server: Connection: Received error - {e}")
break
else:
Expand Down
12 changes: 12 additions & 0 deletions tests_disabled_tcpseg.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,18 @@
{
"name": "t_frang.test_host_required.FrangHostRequiredTestCase.test_disabled_host_http_required",
"reason": "Disabled by issue #1864"
},
{
"name": "http_general.test_headers.TestHost.test_host_header_ok",
"reason": "Disabled by issue #1864"
},
{
"name": "http_general.test_headers.TestHost.test_different_host_in_uri_and_headers",
"reason": "Disabled by issue #1864"
},
{
"name": "t_http_rules.test_http_rules.TestHost",
"reason": "Disabled by issue #1864"
}
]
}

0 comments on commit ca1fb04

Please sign in to comment.