Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/parametric/test_dynamic_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,13 @@ def set_and_wait_rc(test_agent: TestAgentAPI, config_overrides: dict[str, Any],
"""
rc_config = _create_rc_config(config_overrides)

# Remove stale events before setting new config
test_agent.clear()

_set_rc(test_agent, rc_config, config_id)

# Wait for both the telemetry event and the RC apply status.
test_agent.wait_for_telemetry_event("app-client-configuration-change", clear=True)
test_agent.wait_for_telemetry_event("app-client-configuration-change")
return test_agent.wait_for_rc_apply_state("APM_TRACING", state=RemoteConfigApplyState.ACKNOWLEDGED, clear=True)


Expand Down
Loading