Peer proto tests #61

Merged
shyba merged 2 commits from peer_proto_tests into master 2022-10-14 18:30:14 +02:00
shyba commented 2022-10-12 04:03:05 +02:00 (Migrated from github.com)

peer protocol tests were checking only for an unused function, so I added more tests checking from dialing over a real connection. The second test checks that sending invalid data immediately causes the connection to close. For that to be possible I added a check for { as the first byte (this is always the case)

peer protocol tests were checking only for an unused function, so I added more tests checking from dialing over a real connection. The second test checks that sending invalid data immediately causes the connection to close. For that to be possible I added a check for { as the first byte (this is always the case)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/reflector.go#61
No description provided.