Even longer timeout for XPackRestIT (#60812)
This suite is still occasionally failing with a timeout on macOS. Suggest further increasing this timeout until this suite is broken up. Relates #58071
This commit is contained in:
parent
1f49e0b9d0
commit
a2d5bfca2f
|
@ -7,7 +7,9 @@ package org.elasticsearch.xpack.test.rest;
|
||||||
|
|
||||||
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
||||||
|
|
||||||
|
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
|
||||||
import org.apache.http.HttpStatus;
|
import org.apache.http.HttpStatus;
|
||||||
|
import org.apache.lucene.util.TimeUnits;
|
||||||
import org.elasticsearch.ElasticsearchException;
|
import org.elasticsearch.ElasticsearchException;
|
||||||
import org.elasticsearch.common.CheckedFunction;
|
import org.elasticsearch.common.CheckedFunction;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
|
@ -51,6 +53,8 @@ import static org.hamcrest.Matchers.equalTo;
|
||||||
import static org.hamcrest.Matchers.hasSize;
|
import static org.hamcrest.Matchers.hasSize;
|
||||||
|
|
||||||
/** Runs rest tests against external cluster */
|
/** Runs rest tests against external cluster */
|
||||||
|
// TODO: Remove this timeout increase once this test suite is broken up
|
||||||
|
@TimeoutSuite(millis = 60 * TimeUnits.MINUTE)
|
||||||
public class XPackRestIT extends ESClientYamlSuiteTestCase {
|
public class XPackRestIT extends ESClientYamlSuiteTestCase {
|
||||||
private static final String BASIC_AUTH_VALUE =
|
private static final String BASIC_AUTH_VALUE =
|
||||||
basicAuthHeaderValue("x_pack_rest_user", SecuritySettingsSourceField.TEST_PASSWORD_SECURE_STRING);
|
basicAuthHeaderValue("x_pack_rest_user", SecuritySettingsSourceField.TEST_PASSWORD_SECURE_STRING);
|
||||||
|
|
Loading…
Reference in New Issue