Skip to content

Added test for drop of sender#436

Merged
sagudev merged 5 commits intoservo:mainfrom
Narfinger:added-test
Jan 15, 2026
Merged

Added test for drop of sender#436
sagudev merged 5 commits intoservo:mainfrom
Narfinger:added-test

Conversation

@Narfinger
Copy link
Contributor

This adds a test for dropping the sender when a message is not received yet.
Currently this behavior was unspecified and untested. This gives us now an expected behavior.

Signed-off-by: Narfinger Narfinger@users.noreply.github.com

@Narfinger Narfinger marked this pull request as ready for review January 13, 2026 10:31
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
Copy link
Member

@sagudev sagudev left a comment

Choose a reason for hiding this comment

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

Specification by tests is better then no specification at all.

Co-authored-by: Sam <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
Copy link
Contributor

@glyn glyn left a comment

Choose a reason for hiding this comment

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

This is good, thanks. I've suggested a couple of improvements, but these could also go in a subsequent PR, as could a corresponding docs change.

Co-authored-by: Glyn Normington <work@underlap.org>
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
@Narfinger
Copy link
Contributor Author

Ok I also added one explanation to make sure that nobody is confused by the later check for Disconnected.

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
Copy link
Contributor

@glyn glyn left a comment

Choose a reason for hiding this comment

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

Looking good now, thanks. One more suggestion to clarify the comment.

Co-authored-by: Glyn Normington <work@underlap.org>
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
@sagudev sagudev enabled auto-merge January 15, 2026 12:42
@sagudev sagudev added this pull request to the merge queue Jan 15, 2026
Merged via the queue into servo:main with commit 3b6ecee Jan 15, 2026
25 checks passed
@Narfinger Narfinger deleted the added-test branch January 15, 2026 13:20
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