File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
x-pack/plugin/inference/src/yamlRestTest/java/org/elasticsearch/xpack/inference Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -296,9 +296,6 @@ tests:
296296- class : org.elasticsearch.search.basic.SearchWhileRelocatingIT
297297 method : testSearchAndRelocateConcurrentlyRandomReplicas
298298 issue : https://github.com/elastic/elasticsearch/issues/116145
299- - class : org.elasticsearch.xpack.inference.InferenceRestIT
300- method : test {p0=inference/40_semantic_text_query/Query a field that uses the default ELSER 2 endpoint}
301- issue : https://github.com/elastic/elasticsearch/issues/114376
302299- class : org.elasticsearch.xpack.core.security.authz.RoleDescriptorTests
303300 method : testHasPrivilegesOtherThanIndex
304301 issue : https://github.com/elastic/elasticsearch/issues/116376
Original file line number Diff line number Diff line change 99
1010import com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
1111
12+ import org .elasticsearch .common .settings .Settings ;
1213import org .elasticsearch .test .cluster .ElasticsearchCluster ;
1314import org .elasticsearch .test .cluster .local .distribution .DistributionType ;
1415import org .elasticsearch .test .rest .yaml .ClientYamlTestCandidate ;
@@ -30,6 +31,15 @@ public InferenceRestIT(final ClientYamlTestCandidate testCandidate) {
3031 super (testCandidate );
3132 }
3233
34+ @ Override
35+ protected Settings restClientSettings () {
36+ var baseSettings = super .restClientSettings ();
37+ return Settings .builder ()
38+ .put (baseSettings )
39+ .put (CLIENT_SOCKET_TIMEOUT , "120s" ) // Long timeout for model download
40+ .build ();
41+ }
42+
3343 @ Override
3444 protected String getTestRestCluster () {
3545 return cluster .getHttpAddresses ();
You can’t perform that action at this time.
0 commit comments