Skip to content

Commit 4e04a7b

Browse files
authored
[ML] Increase Model Download Timeout In YAML Tests (#117066)
Increase the timeout used in inference YAML tests for model download. Fixes #116899.
1 parent afa3abc commit 4e04a7b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

muted-tests.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,9 @@ tests:
223223
- class: org.elasticsearch.search.basic.SearchWithRandomIOExceptionsIT
224224
method: testRandomDirectoryIOExceptions
225225
issue: https://github.com/elastic/elasticsearch/issues/114824
226-
- class: org.elasticsearch.xpack.inference.InferenceRestIT
227-
method: test {p0=inference/30_semantic_text_inference/Calculates embeddings using the default ELSER 2 endpoint}
228-
issue: https://github.com/elastic/elasticsearch/issues/116542
229226
- class: org.elasticsearch.compute.lucene.LuceneQueryExpressionEvaluatorTests
230227
method: testTermQuery
231228
issue: https://github.com/elastic/elasticsearch/issues/116879
232-
- class: org.elasticsearch.xpack.inference.InferenceRestIT
233-
issue: https://github.com/elastic/elasticsearch/issues/116899
234229
- class: org.elasticsearch.xpack.restart.QueryBuilderBWCIT
235230
method: testQueryBuilderBWC {p0=UPGRADED}
236231
issue: https://github.com/elastic/elasticsearch/issues/116989

x-pack/plugin/inference/src/yamlRestTest/java/org/elasticsearch/xpack/inference/InferenceRestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected Settings restClientSettings() {
3636
var baseSettings = super.restClientSettings();
3737
return Settings.builder()
3838
.put(baseSettings)
39-
.put(CLIENT_SOCKET_TIMEOUT, "120s") // Long timeout for model download
39+
.put(CLIENT_SOCKET_TIMEOUT, "300s") // Long timeout for model download
4040
.build();
4141
}
4242

0 commit comments

Comments
 (0)