-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Inference API] Fix node local rate limit calculator tests for non-snapshot builds #121527
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
[Inference API] Fix node local rate limit calculator tests for non-snapshot builds #121527
Conversation
|
LGTM as long as for Sometimes tests are run with |
Citing the mute reasons I think they run often enough in several CIs. I don't know, whether this means at least once on every PR: |
|
Pinging @elastic/ml-core (Team:ML) |
…or-tests-for-non-snapshot-builds
|
|
||
| public void setUp() throws Exception { | ||
| super.setUp(); | ||
| assumeTrue( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL 👍
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
Fixes #121294
Sometimes tests are run with
-Dbuild.snapshot=false, which means the tests are run on a non-snapshot build, which implies that feature flags are disabled. As we injectNoopNodeLocalRateLimitCalculatoras implementation forInferenceServiceRateLimitCalculator, wheninference_cluster_aware_rate_limiting_feature_flagis disabled we should skipInferenceServiceNodeLocalRateLimitCalculatorTestsas these tests should only test the real implementation (which is injected if the feature flag is enabled).