Skip to content

Commit ef57c2a

Browse files
authored
opentelemetry-sdk: make test_force_flush_late_by_timeout less flaky on pypy/windows (#5102)
Timers on pypy/windows are more coarse than what we expect so give it a bit more room.
1 parent 9c48362 commit ef57c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-sdk/tests/trace/test_span_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def delayed_flush(_):
461461
for mock_processor in mocks:
462462
multi_processor.add_span_processor(mock_processor)
463463

464-
flushed = multi_processor.force_flush(timeout_millis=10)
464+
flushed = multi_processor.force_flush(timeout_millis=25)
465465
# let the thread executing the late_mock continue
466466
wait_event.set()
467467

0 commit comments

Comments
 (0)