Skip to content

Conversation

@litianningdatadog
Copy link
Contributor

@litianningdatadog litianningdatadog commented Jan 13, 2026

https://datadoghq.atlassian.net/browse/SVLS-8286

Overview

We noticed OTLP integration tests were flaky. One speculation was we didn't wait long enough before retrieving the result.

Hence we made Datadog indexing wait time configurable and use 5-minute wait for OTLP tests (instead of default 60s) to accommodate longer data propagation delays through OTLP collector pipeline.

Testing

Local test:

npm test -- otlp.test.ts
...
   Waiting 300s for logs and traces to be indexed in Datadog...
...
Test Suites: 1 passed, 1 total
Tests:       13 passed, 13 total
Snapshots:   0 total
Time:        318.945 s

@litianningdatadog litianningdatadog requested a review from a team as a code owner January 13, 2026 15:13
@litianningdatadog litianningdatadog changed the title [SVLS-8232] test: Add configurable wait time for OTLP integration tests [integration-test]Add configurable wait time for OTLP integration tests Jan 13, 2026
@litianningdatadog litianningdatadog merged commit 34d68af into main Jan 13, 2026
50 checks passed
@litianningdatadog litianningdatadog deleted the tianning.li/SVLS-8286 branch January 13, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants