Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ tests:
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
method: test {csv-spec:string.Url_encode_component tests with table reads}
issue: https://github.com/elastic/elasticsearch/issues/140615
- class: org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorIT
method: testCreatesChatCompletion_AndThenCreatesTextEmbedding
issue: https://github.com/elastic/elasticsearch/issues/138012
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
method: test {csv-spec:string.Url_encode_component tests with table reads}
issue: https://github.com/elastic/elasticsearch/issues/140621
Expand All @@ -225,9 +222,6 @@ tests:
- class: org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT
method: test {csv-spec:string.Url_encode_component tests with table reads}
issue: https://github.com/elastic/elasticsearch/issues/140621
- class: org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorIT
method: testCreatesEisChatCompletion_DoesNotRemoveEndpointWhenNoLongerAuthorized
issue: https://github.com/elastic/elasticsearch/issues/140802
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
method: test {csv-spec:spatial.ConvertFromStringParseError}
issue: https://github.com/elastic/elasticsearch/issues/139213
Expand Down Expand Up @@ -387,12 +381,6 @@ tests:
- class: org.elasticsearch.cluster.routing.allocation.allocator.NotPreferredAllocationRebalancingIT
method: testAllocatorDoesNotMoveShardsToNotPreferredNode
issue: https://github.com/elastic/elasticsearch/issues/143831
- class: org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorIT
method: testEndpointGetsUpdated_GivenFingerprintChanges_FromNull
issue: https://github.com/elastic/elasticsearch/issues/143845
- class: org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorIT
method: testCreatesEisChatCompletionEndpoint
issue: https://github.com/elastic/elasticsearch/issues/140849
- class: org.elasticsearch.xpack.esql.datasources.spi.StoragePathTests
method: testFileUriFunctionOnUnix
issue: https://github.com/elastic/elasticsearch/issues/143979
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import org.elasticsearch.test.http.MockWebServer;
import org.elasticsearch.xcontent.XContentBuilder;
import org.elasticsearch.xcontent.json.JsonXContent;
import org.elasticsearch.xpack.inference.InferenceIndex;
import org.elasticsearch.xpack.inference.InferenceSecretsIndex;
import org.elasticsearch.xpack.inference.LocalStateInferencePlugin;
import org.elasticsearch.xpack.inference.registry.ModelRegistry;
import org.elasticsearch.xpack.inference.services.elastic.ElasticInferenceService;
Expand Down Expand Up @@ -90,10 +88,12 @@ public static void initClass() throws IOException {
}

@Before
public void createComponents() {
public void createComponents() throws Exception {
modelRegistry = node().injector().getInstance(ModelRegistry.class);
authorizationTaskExecutor = node().injector().getInstance(AuthorizationTaskExecutor.class);
ensureGreen(InferenceIndex.INDEX_PATTERN, InferenceSecretsIndex.INDEX_PATTERN);

// Wait for inference indices to be created
assertBusy(() -> getEisEndpoints());
}

@After
Expand Down
Loading