Added HV Socket tests (#240)

* Added HV Socket tests

Added tests for core Hyper-V socket functionality, including testing
CloseRead and CloseWrite, as well as checking addresses are appropriate
and timeouts work.

Added fuzzing test to check for edge case read/write issues.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

* pr: asserts, naming, fatal in test

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
This commit is contained in:
Hamza El-Saawy
2022-08-22 11:09:02 -04:00
committed by GitHub
parent d68e55cd0b
commit 79ae8cea02
4 changed files with 745 additions and 0 deletions
+3
View File
@@ -2,6 +2,9 @@
*.exe
# testing
testdata
# go workspaces
go.work
go.work.sum