Skip to content

Commit 379284b

Browse files
committed
Fix tests for non-snapshot builds
1 parent 68c8fa6 commit 379284b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

muted-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,6 @@ tests:
441441
- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
442442
method: test {p0=search.vectors/42_knn_search_int4_flat/Vector similarity with filter only}
443443
issue: https://github.com/elastic/elasticsearch/issues/121412
444-
- class: org.elasticsearch.xpack.inference.common.InferenceServiceNodeLocalRateLimitCalculatorTests
445-
issue: https://github.com/elastic/elasticsearch/issues/121294
446444
- class: org.elasticsearch.xpack.ml.integration.ClassificationIT
447445
method: testDependentVariableIsAliasToKeyword
448446
issue: https://github.com/elastic/elasticsearch/issues/121492

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/common/InferenceServiceNodeLocalRateLimitCalculatorTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public class InferenceServiceNodeLocalRateLimitCalculatorTests extends ESIntegTe
3333

3434
public void setUp() throws Exception {
3535
super.setUp();
36+
assumeTrue(
37+
"If inference_cluster_aware_rate_limiting_feature_flag_enabled=true we'll fallback to NoopNodeLocalRateLimitCalculator, which shouldn't be tested by this class.",
38+
InferenceAPIClusterAwareRateLimitingFeature.INFERENCE_API_CLUSTER_AWARE_RATE_LIMITING_FEATURE_FLAG.isEnabled()
39+
);
3640
}
3741

3842
public void testInitialClusterGrouping_Correct() throws Exception {

0 commit comments

Comments
 (0)