From 617c49eb393e9ec5737bd2e75f785baf65abe573 Mon Sep 17 00:00:00 2001 From: Ivan Bodrov Date: Tue, 12 Nov 2024 09:40:52 -0500 Subject: [PATCH] it: tighten up polling intervals --- .../concord/it/runtime/v2/ConcordConfiguration.java | 11 ++++++++++- it/server/src/test/resources/agent.conf | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/it/runtime-v2/src/test/java/com/walmartlabs/concord/it/runtime/v2/ConcordConfiguration.java b/it/runtime-v2/src/test/java/com/walmartlabs/concord/it/runtime/v2/ConcordConfiguration.java index ee76fa2f16..f986a90e23 100644 --- a/it/runtime-v2/src/test/java/com/walmartlabs/concord/it/runtime/v2/ConcordConfiguration.java +++ b/it/runtime-v2/src/test/java/com/walmartlabs/concord/it/runtime/v2/ConcordConfiguration.java @@ -58,7 +58,16 @@ public static ConcordRule configure() { .streamAgentLogs(true) .sharedContainerDir(sharedDir) .useLocalMavenRepository(true) - .extraConfigurationSupplier(() -> "concord-agent { prefork { enabled = true } }"); + .extraConfigurationSupplier(() -> """ + concord-agent { + dependencyResolveTimeout = "5 seconds" + logMaxDelay = "250 milliseconds" + pollInterval = "250 milliseconds" + prefork { + enabled = true + } + } + """); boolean localMode = Boolean.parseBoolean(System.getProperty("it.local.mode")); if (localMode) { diff --git a/it/server/src/test/resources/agent.conf b/it/server/src/test/resources/agent.conf index 3cda4cca14..a3eee4c129 100644 --- a/it/server/src/test/resources/agent.conf +++ b/it/server/src/test/resources/agent.conf @@ -1,5 +1,9 @@ concord-agent { + dependencyResolveTimeout = "5 seconds" + logMaxDelay = "250 milliseconds" + pollInterval = "250 milliseconds" + prefork { enabled = true }