Skip to content

Fix API Security feature tests for thread local sampler #4779

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

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

Strech
Copy link
Member

@Strech Strech commented Jun 16, 2025

Motivation

In some libs we implement thread-local sampler which will be relevant only if all test requests landed at the same thread. With a help of @cbeauchesne - now it's possible

Changes

From now on if we want to test sampling, it makes sense to use session and fire all request from within it.

Closes #4749

I've cherry-picked working parts of the said PR of @cbeauchesne and applied it to the tests that require sampling.

@Strech Strech requested review from a team as code owners June 16, 2025 11:23
@Strech Strech merged commit ede0823 into main Jun 18, 2025
2398 of 2400 checks passed
@Strech Strech deleted the fix-api-security-sampling-for-thread-local-sampler branch June 18, 2025 08:30
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