Skip to content

Commit 2f7da21

Browse files
authored
ci: fix flaky test_partial_flush_log stdout (#15285)
## Description Attempt to address the flaky test `test_partial_flush_log` ``` FAILED tests/integration/test_integration.py::test_partial_flush_log[v0.4][py3.13] - AssertionError: STDERR: Expected [] got [b'Got response: 200 OK sent 711B in 1.59383s to http://localhost:9126/v0.4/traces\n'] ``` This is just a race condition with flushing and logging, it is safe to ignore. ## Testing <!-- Describe your testing strategy or note what tests are included --> ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> ## Additional Notes <!-- Any other information that would be helpful for reviewers -->
1 parent 971d20a commit 2f7da21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def test_writer_configured_correctly_from_env_defaults_under_ddtrace_run(ddtrace
758758
assert status == 0, (out, err)
759759

760760

761-
@parametrize_with_all_encodings(env={"DD_TRACE_PARTIAL_FLUSH_MIN_SPANS": "2"})
761+
@parametrize_with_all_encodings(env={"DD_TRACE_PARTIAL_FLUSH_MIN_SPANS": "2"}, out=None)
762762
def test_partial_flush_log():
763763
import mock
764764

0 commit comments

Comments
 (0)