File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
x-pack/plugin/inference/src/yamlRestTest/java/org/elasticsearch/xpack/inference Expand file tree Collapse file tree 1 file changed +10
-0
lines changed 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