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

Add whitelist_mark test (917) #533

Merged
merged 4 commits into from
Oct 12, 2023
Merged

Add whitelist_mark test (917) #533

merged 4 commits into from
Oct 12, 2023

Conversation

mbabitski-t
Copy link
Contributor

@mbabitski-t mbabitski-t commented Oct 9, 2023

This PR adds tests for whitelist_mark directive, ensuring that whitelisted requests skip frang.

frang connection_rate for whitelisted requests is tested as described in

- fix tempesta config variable;
- test whitelisted and non-whitelisted requests;
- test connection_rate as mentioned in #1949;
- enable the test by default in t_frang;
@mbabitski-t mbabitski-t marked this pull request as ready for review October 9, 2023 14:16
@mbabitski-t mbabitski-t requested a review from voodam October 9, 2023 14:34
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
t_frang/test_whitelist_mark.py Outdated Show resolved Hide resolved
- connection_rate -> tcp_connection_rate;
- use curl.statuses;
- proper http_uri_len validation;
- proper tearDown;
- prepare_js_templates;
- tests are separated;
- moved to test_disabled.json;
tests_disabled.json Show resolved Hide resolved
@mbabitski-t mbabitski-t merged commit 53ad5bd into master Oct 12, 2023
@mbabitski-t mbabitski-t deleted the 917-whitelist-mark branch October 12, 2023 15:36
@mbabitski-t mbabitski-t removed the request for review from voodam October 12, 2023 15:36
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.

2 participants