From b1a0fe83c9857900ec300af3ea62e47e0d12cc7a Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Tue, 18 Jun 2024 21:09:40 +0000 Subject: [PATCH] DEBUG SETTINGS --- .../org/opensearch/gradle/testclusters/OpenSearchNode.java | 2 +- gradle/run.gradle | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchNode.java b/buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchNode.java index 268de50340cbf..20e62d76b6f44 100644 --- a/buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchNode.java +++ b/buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchNode.java @@ -116,7 +116,7 @@ public class OpenSearchNode implements TestClusterConfiguration { private static final TimeUnit NODE_UP_TIMEOUT_UNIT = TimeUnit.MINUTES; private static final int ADDITIONAL_CONFIG_TIMEOUT = 15; private static final TimeUnit ADDITIONAL_CONFIG_TIMEOUT_UNIT = TimeUnit.SECONDS; - private static final List OVERRIDABLE_SETTINGS = Arrays.asList("path.repo", "discovery.seed_providers", "discovery.seed_hosts"); + private static final List OVERRIDABLE_SETTINGS = Arrays.asList("path.repo", "path.data", "discovery.seed_providers", "discovery.seed_hosts"); private static final int TAIL_LOG_MESSAGES_COUNT = 40; private static final List MESSAGES_WE_DONT_CARE_ABOUT = Arrays.asList( diff --git a/gradle/run.gradle b/gradle/run.gradle index 34651f1d94964..a15247cc60d7d 100644 --- a/gradle/run.gradle +++ b/gradle/run.gradle @@ -45,6 +45,12 @@ testClusters { plugin('plugins:'.concat(p)) } } + + // DEBUG SETTINGS - NO COM + setting 'node.search.cache.size', '100b' + setting 'node.roles', '[data,ingest,cluster_manager,search]' + setting 'path.repo', '/Users/carrofin/fdev/DEBUG/STORES/SNAPS' + setting 'path.data', '/Users/carrofin/fdev/DEBUG/STORES/DATA' } }