Skip to content
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] Added more tests for bonding #3085

Merged
merged 10 commits into from
Dec 17, 2024

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Dec 11, 2024

Added tests:

TEST(Bonding, ConnectBlind)

Connect to a nonexistent endpoint and interrupt it by closing a group.

TEST(Bonding, ConnectNonBlocking)

Test connecting with non-blocking mode and correctly reported epoll events.

TEST(Bonding, BackupPriorityBegin)

Setup two links with different weight and expect the one with higher priority to be activated.

TEST(Bonding, BackupPriorityTakeover)

Setup a new link while in transmission and expect that the new link with higher priority take over, even if there's no need to backup.

TEST(Bonding, BackupPrioritySelection)

Setup two links with high priority and send a packet to activate one. Then connect a link with low priority, kill the active link and send the packet - expected is that the out of two remaining link, the one with higher priority be activated.

Smaller fixes added to accompanying functions.

@ethouris ethouris marked this pull request as ready for review December 12, 2024 10:03
@maxsharabayko maxsharabayko added this to the v1.5.5 milestone Dec 12, 2024
@maxsharabayko maxsharabayko added Type: Enhancement Indicates new feature requests [tests] Area: Unit tests labels Dec 12, 2024
@maxsharabayko maxsharabayko merged commit 59e2c9c into Haivision:master Dec 17, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[tests] Area: Unit tests Type: Enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants