Skip to content

Commit 895aac7

Browse files
authored
test(debugger): raise snapshot spec capture timeout (#7654)
Set DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS to 100 for integration-tests/debugger/snapshot.spec.js. This reduces CI flakiness from timeout-truncated snapshots and keeps the strict snapshot shape assertions deterministic.
1 parent 0763f84 commit 895aac7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

integration-tests/debugger/snapshot.spec.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ const assert = require('node:assert/strict')
44
const { setup } = require('./utils')
55

66
describe('Dynamic Instrumentation', function () {
7-
const t = setup({ dependencies: ['fastify'] })
7+
const t = setup({
8+
dependencies: ['fastify'],
9+
env: {
10+
DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS: '100',
11+
},
12+
})
813

914
describe('input messages', function () {
1015
describe('with snapshot', function () {

0 commit comments

Comments
 (0)