Skip to content

Commit

Permalink
Increase socket timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkyle committed Sep 30, 2024
1 parent a382c77 commit ef1803a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,6 @@ tests:
- class: org.elasticsearch.validation.DotPrefixClientYamlTestSuiteIT
method: test {p0=dot_prefix/10_basic/Deprecated index template with a dot prefix index pattern}
issue: https://github.com/elastic/elasticsearch/issues/113529
- class: org.elasticsearch.xpack.inference.TextEmbeddingCrudIT
method: testPutE5WithTrainedModelAndInference
issue: https://github.com/elastic/elasticsearch/issues/113565
- class: org.elasticsearch.xpack.inference.TextEmbeddingCrudIT
method: testPutE5Small_withPlatformAgnosticVariant
issue: https://github.com/elastic/elasticsearch/issues/113577
- class: org.elasticsearch.xpack.ml.integration.MlJobIT
method: testCantCreateJobWithSameID
issue: https://github.com/elastic/elasticsearch/issues/113581
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ protected String getTestRestCluster() {
@Override
protected Settings restClientSettings() {
String token = basicAuthHeaderValue("x_pack_rest_user", new SecureString("x-pack-test-password".toCharArray()));
return Settings.builder().put(ThreadContext.PREFIX + ".Authorization", token).build();
return Settings.builder()
.put(ThreadContext.PREFIX + ".Authorization", token)
.put(CLIENT_SOCKET_TIMEOUT, "120s") // Long timeout for model download
.build();
}

static String mockSparseServiceModelConfig() {
Expand Down

0 comments on commit ef1803a

Please sign in to comment.