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

Tests: strict encription tests for blocking mode #532

Merged
merged 2 commits into from
Jan 31, 2019

Conversation

maxsharabayko
Copy link
Collaborator

@maxsharabayko maxsharabayko commented Jan 10, 2019

The tests for strict encryption behavior now check both non-blocking and blocking modes.
For this case the C++11 support is now required by the testing module, so the corresponding check is added to the CMakeLists.txt.

One concern is that for blocking mode there are two sleeps (50 ms) before checking the status of the accepted socket, because in several test cases (e.g. B2-B4) the state will be changed from SRTS_CONNECTED to SRTS_BROCKEN when the listener processes the KM response from the caller.

@maxsharabayko maxsharabayko added Priority: Low Type: Enhancement Indicates new feature requests labels Jan 10, 2019
To be used for both blocking and non-blocking modes.
@maxsharabayko maxsharabayko force-pushed the tests/strict_encription_blocking branch from 83426dd to 1cdccef Compare January 10, 2019 16:51
@maxsharabayko maxsharabayko added this to the v.1.3.2 milestone Jan 31, 2019
@rndi rndi merged commit e116ec8 into Haivision:master Jan 31, 2019
@maxsharabayko maxsharabayko deleted the tests/strict_encription_blocking branch March 12, 2019 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Type: Enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants