Skip to content

Commit 105be30

Browse files
jackshiraziCopilot
andauthored
[dynamic control] Add policy pipeline initializing manager (open-telemetry#2826)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent e9c928a commit 105be30

4 files changed

Lines changed: 470 additions & 1 deletion

File tree

dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/OpampPolicyProvider.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@ static Duration getGlobalPollingIntervalForTest() {
337337
}
338338

339339
/** Resets shared provider test state, including polling interval and active provider tracking. */
340-
static void resetForTest() {
340+
// TODO: refactor/rescope to make this not public at some point
341+
public static void resetForTest() {
341342
setGlobalPollingInterval(DEFAULT_POLLING_INTERVAL);
342343
ACTIVE_PROVIDERS.clear();
343344
}

0 commit comments

Comments
 (0)