Skip to content

Set sndbuf=1024 and rcvbuf=1024 for socat test server#106

Draft
puddly wants to merge 1 commit into
devfrom
puddly/fix-socat-buffer
Draft

Set sndbuf=1024 and rcvbuf=1024 for socat test server#106
puddly wants to merge 1 commit into
devfrom
puddly/fix-socat-buffer

Conversation

@puddly

@puddly puddly commented Jun 14, 2026

Copy link
Copy Markdown
Owner

socat relied on kernel networking buffer sizes for this unit test, which may not always be small enough to cause tests to fail. We should instead use the socat-provided config params to limit the size.

Fixes #105.

@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.35%. Comparing base (5b4fd47) to head (6dfee49).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #106   +/-   ##
=======================================
  Coverage   92.35%   92.35%           
=======================================
  Files          22       22           
  Lines        3661     3661           
=======================================
  Hits         3381     3381           
  Misses        280      280           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

test_sync_write_timeout fails on systems with large net.core.[rw]mem_default values

1 participant