-
Notifications
You must be signed in to change notification settings - Fork 412
Test that do_attempt_write_data does not infinitely loop #556
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
Test that do_attempt_write_data does not infinitely loop #556
Conversation
5b3347c
to
780a3f7
Compare
I think infinitely looping in a test is a perfectly reasonable failure mode, especially given the code in question infinite looped in production :) |
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.
Pretty much looks good. Would be nice to get a test for the messages actually being received, though.
780a3f7
to
bb210c0
Compare
bb210c0
to
2b43d31
Compare
6d88fe7
to
1d77598
Compare
Travis got screwed up. Can you git commit --amend (just to change the timestamp and commitid) and then push so that travis runs? |
1d77598
to
b7925d9
Compare
b5503f9
to
24aa9fc
Compare
when all the channel messages can't fit into the buffer. Adds a test for PR lightningdevkit#550.
24aa9fc
to
3e0aed2
Compare
Travis is broken. |
when all the channel messages can't fit into the buffer.
Adds a test for PR #550.
This test may still need work because it doesn't fail with the previous code per se, just infinitely loops. But, it technically would've caught the problem.