Skip to content

Commit cc04591

Browse files
rochdevclaude
andcommitted
test(openfeature): raise nft trace timeout for the entrypoint test
openfeature.js now pulls in the full tracer package to check tracer.init() state, so nodeFileTrace has a much larger dependency tree to walk. The default 5s mocha timeout was tight enough that CI runners under load exceeded it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 3414a0b commit cc04591

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/dd-trace/test/openfeature/file-tracing.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ async function assertTracesProvider (entrypoint) {
3737
}
3838

3939
describe('OpenFeature file tracing', () => {
40-
it('traces the provider dependency tree through the runtime wrapper', async () => {
40+
it('traces the provider dependency tree through the runtime wrapper', async function () {
41+
this.timeout(30000)
4142
await assertTracesProvider(path.join(repoRoot, 'packages/dd-trace/src/openfeature/require-provider.js'))
4243
})
4344

44-
it('traces the provider dependency tree through the explicit entrypoint', async () => {
45+
it('traces the provider dependency tree through the explicit entrypoint', async function () {
46+
this.timeout(30000)
4547
await assertTracesProvider(path.join(repoRoot, 'openfeature.js'))
4648
})
4749

0 commit comments

Comments
 (0)