Skip to content

Conversation

daw1012345
Copy link
Contributor

Description

A set of fixes to get the tcp contact working again. Not that ideally this would be completely refactored, as it doesn't seem to handle disconnects very gracefully.

Depends on MR in mitre/manx to fully work.

@uruwhy uruwhy self-assigned this Apr 3, 2025
Copy link
Contributor

@uruwhy uruwhy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/daw1012345/caldera/blob/fix/manx_unusable/tests/contacts/test_contact_tcp.py#L16 needs to be replaced with session_with_socket_error.writer.write.side_effect = socket.error() in order for the unit tests to work again

@daw1012345 daw1012345 requested a review from uruwhy April 4, 2025 14:51
@elegantmoose elegantmoose self-requested a review April 10, 2025 21:15
@elegantmoose elegantmoose merged commit 8afe2ee into mitre:master Apr 10, 2025
1 of 5 checks passed
@elegantmoose
Copy link
Contributor

Nice work @daw1012345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants