From 1a11fbabd2ad29ac99b585bd2bb392be27974c0e Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Wed, 17 Jan 2024 08:17:32 +0800 Subject: [PATCH] Fix tests; remove leftover --- .../xpack/apmdata/APMIndexTemplateRegistryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/apm-data/src/test/java/org/elasticsearch/xpack/apmdata/APMIndexTemplateRegistryTests.java b/x-pack/plugin/apm-data/src/test/java/org/elasticsearch/xpack/apmdata/APMIndexTemplateRegistryTests.java index 1b71ebc678573..f986934510918 100644 --- a/x-pack/plugin/apm-data/src/test/java/org/elasticsearch/xpack/apmdata/APMIndexTemplateRegistryTests.java +++ b/x-pack/plugin/apm-data/src/test/java/org/elasticsearch/xpack/apmdata/APMIndexTemplateRegistryTests.java @@ -92,13 +92,13 @@ public void createRegistryAndClient() { ); apmIndexTemplateRegistry = new APMIndexTemplateRegistry( - // Settings.builder().put(APM_DATA_ENABLED.getKey(), true).put(APMPlugin.APM_DATA_REGISTRY_ENABLED.getKey(), true).build(), Settings.EMPTY, clusterService, threadPool, client, NamedXContentRegistry.EMPTY ); + apmIndexTemplateRegistry.setEnabled(true); } @After