diff --git a/utils/_context/_scenarios/__init__.py b/utils/_context/_scenarios/__init__.py index c0b513a76f2..ee326e853ca 100644 --- a/utils/_context/_scenarios/__init__.py +++ b/utils/_context/_scenarios/__init__.py @@ -638,6 +638,8 @@ class _Scenarios: tracing_config_nondefault_4 = EndToEndScenario( "TRACING_CONFIG_NONDEFAULT_4", weblog_env={ + # Required by Node.js to ensure the snapshot isn't truncated due to a timeout + "DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS": "1000", "DD_DYNAMIC_INSTRUMENTATION_ENABLED": "true", "DD_DYNAMIC_INSTRUMENTATION_REDACTED_IDENTIFIERS": "customidentifier1,customidentifier2", "DD_DYNAMIC_INSTRUMENTATION_REDACTED_TYPES": "weblog.Models.Debugger.CustomPii,com.datadoghq.system_tests.springboot.CustomPii,CustomPii", # noqa: E501 @@ -683,6 +685,8 @@ class _Scenarios: debugger_pii_redaction = DebuggerScenario( "DEBUGGER_PII_REDACTION", weblog_env={ + # Required by Node.js to ensure the snapshot isn't truncated due to a timeout + "DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS": "1000", "DD_DYNAMIC_INSTRUMENTATION_ENABLED": "1", "DD_DYNAMIC_INSTRUMENTATION_REDACTED_TYPES": "weblog.Models.Debugger.CustomPii,com.datadoghq.system_tests.springboot.CustomPii,CustomPii", # noqa: E501 "DD_DYNAMIC_INSTRUMENTATION_REDACTED_IDENTIFIERS": "customidentifier1,customidentifier2",