-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: add tests for reliable service under packet loss #63
Merged
Merged
Changes from all commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
91057af
implementation of reliable transport
ainghazal aebf87e
rename & reordering
ainghazal b420eb1
wip
ainghazal add18bd
remove command, separate pr
ainghazal 2c9761f
add command to get handshake logs
ainghazal 51e2d34
remove unused code
ainghazal c3cb64d
add sender logging
ainghazal c85b9f3
add precision time logging in the text handler
ainghazal ba650b8
clearer logging
ainghazal 0525989
unify packet logging
ainghazal 9e5b744
checkpoint: improve logging, hack client hello ack to get moving
ainghazal f34af5c
checkpoint
ainghazal ff1ec51
checkpoint
ainghazal 06d6c37
x
ainghazal bfd4380
testing
ainghazal 44c6f9b
pass option to do just the handshake and no routes
ainghazal 0e074d1
defend if data before keys
ainghazal 2c6c941
improve comment
ainghazal b512ad9
comment on newHardResetPacket
ainghazal 690762e
comments
ainghazal 675fd8f
add elapsed time for benchmarking
ainghazal 5b4d2eb
log
ainghazal 8c5816c
add doc.go
ainghazal 0c37284
x
ainghazal 2fb6a3c
remove unused code
ainghazal 80adb95
move comment location
ainghazal ba94049
x
ainghazal c941f02
remove commented code
ainghazal 1bc2361
add link in docs
ainghazal 20f89e2
rename in test
ainghazal 9f751fb
remove binary
ainghazal f30db74
revert Makefile
ainghazal 582ef20
Update internal/packetmuxer/service.go
ainghazal dcdffec
Update internal/reliabletransport/doc.go
ainghazal 286b136
rename
ainghazal 1fbbee5
apply suggestion
ainghazal 2a15f2d
apply suggestions
ainghazal 09fcc51
terminology
ainghazal e50e410
fix docs
ainghazal 2095cab
inflight does not need to implement sort
ainghazal 7009ffb
implement set for ack queue
ainghazal 32a83e0
add tests for pending acks + evict after ack
ainghazal a814e13
test next packet ids to ack
ainghazal c1747c5
test ack empties
ainghazal 9aaa7f1
remove tlssession logging from this pr, separated in a different one
ainghazal cc4f35f
note
ainghazal bddbfe4
x
ainghazal 9171beb
Merge branch 'main' into refactor-reliable-impl
ainghazal 037e6d1
test for inflightSequence
ainghazal 5fcc0c6
fix tests for receiver
ainghazal 60cf8ac
more coverage
ainghazal ae27c8f
x
ainghazal b1b0904
tests for next wakeup
ainghazal a701b83
tests for service initialization
ainghazal 8071942
add more unit tests
ainghazal 8547daf
first naive reordering test
ainghazal d07895c
going for a walk outside
ainghazal c5718ad
debug: wtf is going on
ainghazal b18c3ee
fix bug in sender that breaks loop
ainghazal a6cece1
remove debug lines
ainghazal 5a961eb
cleanup test a bit
ainghazal 6abd35d
add vpntest module
ainghazal bf7b83b
cosmetic changes
ainghazal 39bc222
test packetio
ainghazal 0bcb8de
parse acks
ainghazal d85275c
wip testing acks
ainghazal 31abc06
ack testing utils
ainghazal 7b92e6c
wip: ack duplicates compare set
ainghazal 66a82dc
Merge branch 'main' into reliable-service-tests
ainghazal 6bdc2d5
run the new tests in internal too
ainghazal 80e8e50
x
ainghazal 2a8632b
Merge branch 'main' into reliable-service-tests
ainghazal c84ad65
return if ack error
ainghazal cf17b41
add targets for testing internal path
ainghazal cd00bda
relax coverage threshold for now
ainghazal 893f4e0
coverage for refactor
ainghazal 7dba3b7
igore coverage output
ainghazal b902a49
remove extra comment
ainghazal ebdf71a
add relay with loss
ainghazal 2ae804e
add tests for packet loss
ainghazal cbbdf40
reorganize code
ainghazal 4cf6879
add package doc.go
ainghazal b49e26d
test echoserver
ainghazal d3431bd
tests for writesequencewithFixedPayload
ainghazal dd0b698
test for witness log
ainghazal 7661d74
add test for expanded sequence
ainghazal 3406791
update diagrams in tests
ainghazal 2eb96cb
bump actions version, node12 is deprecated
ainghazal 5edbff3
update setup-go to v5
ainghazal 04e896d
Update internal/vpntest/packetio.go
ainghazal 9fc8050
Merge branch 'main' into reliable-service-tests-loss
ainghazal 49fdfc1
fix merge
ainghazal a8e6959
revert from main
ainghazal f76b2bc
remove commented out code
ainghazal 6f83914
complete doc strings
ainghazal 866d326
add a linter step to make reviews more fun
ainghazal d70fac8
x
ainghazal 55492eb
set verbosity conditined on verbose tests
ainghazal 4fde4d3
style
ainghazal 55f8f1d
Update internal/reliabletransport/reliable_loss_test.go
ainghazal eaab530
Update internal/vpntest/packetio.go
ainghazal 87eb468
Update internal/vpntest/packetio_test.go
ainghazal 4b8b5c5
fix spacing
ainghazal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!