Skip to content

Commit 395deff

Browse files
debug
1 parent d354b44 commit 395deff

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

integration-tests/mocha/mocha.spec.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ describe('mocha CommonJS', function () {
22062206
})
22072207
})
22082208

2209-
context('dynamic instrumentation', () => {
2209+
context.only('dynamic instrumentation', () => {
22102210
it('does not activate dynamic instrumentation if DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED is not set', (done) => {
22112211
receiver.setSettings({
22122212
flaky_test_retries_enabled: true,
@@ -2388,12 +2388,16 @@ describe('mocha CommonJS', function () {
23882388
'./dynamic-instrumentation/test-hit-breakpoint'
23892389
]),
23902390
DD_TEST_DYNAMIC_INSTRUMENTATION_ENABLED: 'true',
2391-
DD_CIVISIBILITY_FLAKY_RETRY_COUNT: '1'
2391+
DD_CIVISIBILITY_FLAKY_RETRY_COUNT: '1',
2392+
DD_TRACE_DEBUG: '1'
23922393
},
23932394
stdio: 'inherit'
23942395
}
23952396
)
23962397

2398+
childProcess.stdout.pipe(process.stdout)
2399+
childProcess.stderr.pipe(process.stderr)
2400+
23972401
childProcess.on('exit', () => {
23982402
Promise.all([eventsPromise, logsPromise]).then(() => {
23992403
assert.equal(snapshotIdByTest, snapshotIdByLog)

0 commit comments

Comments
 (0)