Remove `randomDynamicTemplates` usage.
It has been removed it core. Original commit: elastic/x-pack-elasticsearch@ba9fd16ed6
This commit is contained in:
parent
1abc40c645
commit
44c9bba39c
|
@ -64,7 +64,7 @@ import static org.hamcrest.Matchers.is;
|
|||
import static org.hamcrest.Matchers.nullValue;
|
||||
|
||||
// The random usage of meta fields such as _timestamp add noise to the test, so disable random index templates:
|
||||
@ESIntegTestCase.ClusterScope(randomDynamicTemplates = false)
|
||||
@ESIntegTestCase.ClusterScope
|
||||
public class FieldLevelSecurityTests extends SecurityIntegTestCase {
|
||||
|
||||
protected static final SecureString USERS_PASSWD = new SecureString("change_me".toCharArray());
|
||||
|
|
|
@ -28,7 +28,7 @@ import static org.hamcrest.Matchers.is;
|
|||
|
||||
//test is just too slow, please fix it to not be sleep-based
|
||||
@BadApple(bugUrl = "https://github.com/elastic/x-plugins/issues/1007")
|
||||
@ESIntegTestCase.ClusterScope(randomDynamicTemplates = false, maxNumDataNodes = 2)
|
||||
@ESIntegTestCase.ClusterScope(maxNumDataNodes = 2)
|
||||
public class IndexPrivilegeTests extends AbstractPrivilegeTestCase {
|
||||
|
||||
private String jsonDoc = "{ \"name\" : \"elasticsearch\", \"body\": \"foo bar\" }";
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.elasticsearch.xpack.monitoring.MonitoringSettings;
|
|||
import org.elasticsearch.xpack.monitoring.test.MonitoringIntegTestCase;
|
||||
import org.elasticsearch.xpack.security.InternalClient;
|
||||
|
||||
@ClusterScope(scope = ESIntegTestCase.Scope.SUITE, randomDynamicTemplates = false, transportClientRatio = 0.0)
|
||||
@ClusterScope(scope = ESIntegTestCase.Scope.SUITE, transportClientRatio = 0.0)
|
||||
public abstract class AbstractCollectorTestCase extends MonitoringIntegTestCase {
|
||||
|
||||
@Override
|
||||
|
|
|
@ -31,7 +31,7 @@ import static org.elasticsearch.test.ESIntegTestCase.Scope.SUITE;
|
|||
import static org.hamcrest.Matchers.is;
|
||||
import static org.hamcrest.Matchers.not;
|
||||
|
||||
@ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0, randomDynamicTemplates = false, maxNumDataNodes = 3)
|
||||
@ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0, maxNumDataNodes = 3)
|
||||
public class WatcherPluginDisableTests extends ESIntegTestCase {
|
||||
@Override
|
||||
protected Settings nodeSettings(int nodeOrdinal) {
|
||||
|
|
|
@ -115,7 +115,7 @@ import static org.hamcrest.Matchers.notNullValue;
|
|||
import static org.hamcrest.core.Is.is;
|
||||
import static org.hamcrest.core.IsNot.not;
|
||||
|
||||
@ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0, randomDynamicTemplates = false, maxNumDataNodes = 3)
|
||||
@ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0, maxNumDataNodes = 3)
|
||||
public abstract class AbstractWatcherIntegrationTestCase extends ESIntegTestCase {
|
||||
|
||||
public static final String WATCHER_LANG = Script.DEFAULT_SCRIPT_LANG;
|
||||
|
|
|
@ -74,7 +74,7 @@ import static org.hamcrest.Matchers.is;
|
|||
import static org.hamcrest.Matchers.notNullValue;
|
||||
import static org.joda.time.DateTimeZone.UTC;
|
||||
|
||||
@ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0, randomDynamicTemplates = false, supportsDedicatedMasters = false,
|
||||
@ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0, supportsDedicatedMasters = false,
|
||||
numDataNodes = 1)
|
||||
public class SearchTransformTests extends ESIntegTestCase {
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ import static org.hamcrest.Matchers.notNullValue;
|
|||
import static org.hamcrest.core.Is.is;
|
||||
|
||||
@ESIntegTestCase.ClusterScope(scope = SUITE, numClientNodes = 0, transportClientRatio = 0,
|
||||
randomDynamicTemplates = false, numDataNodes = 1, supportsDedicatedMasters = false)
|
||||
numDataNodes = 1, supportsDedicatedMasters = false)
|
||||
public class WatchStatsTests extends AbstractWatcherIntegrationTestCase {
|
||||
|
||||
private static CountDownLatch scriptStartedLatch = new CountDownLatch(1);
|
||||
|
|
|
@ -25,7 +25,7 @@ import static org.elasticsearch.xpack.watcher.trigger.schedule.Schedules.cron;
|
|||
import static org.hamcrest.Matchers.greaterThan;
|
||||
import static org.hamcrest.Matchers.is;
|
||||
|
||||
@ClusterScope(scope = TEST, numClientNodes = 0, transportClientRatio = 0, randomDynamicTemplates = false)
|
||||
@ClusterScope(scope = TEST, numClientNodes = 0, transportClientRatio = 0)
|
||||
public class WatcherStatsTests extends AbstractWatcherIntegrationTestCase {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue