Skip to content

Add contention testing#877

Draft
LinuxJedi wants to merge 2 commits intowolfSSL:masterfrom
LinuxJedi:contention-testing
Draft

Add contention testing#877
LinuxJedi wants to merge 2 commits intowolfSSL:masterfrom
LinuxJedi:contention-testing

Conversation

@LinuxJedi
Copy link
Member

In theory these tests will find more non-blocking issues.

LinuxJedi and others added 2 commits February 5, 2026 12:42
In theory these tests will find more non-blocking issues.
The test failures revealed that only echoserver (-N flag) and wolfsftp
(-N flag) properly support non-blocking I/O handling. wolfscp and
wolfsshd do not have the retry logic to handle WS_WANT_READ/WS_WANT_WRITE
returns from TEST_BLOCK.

Changes:
- scp.test: Revert to skip (exit 77) when TEST_BLOCK is detected since
  wolfscp doesn't support non-blocking mode
- network-contention-test.yml: Remove SCP tests, fix SFTP tests to use
  expect instead of echo pipe (which was causing "fgets error")
- Remove paramiko-contention-test.yml: wolfsshd doesn't support
  TEST_BLOCK (hangs during SSH handshake)

The remaining SFTP contention tests properly exercise the non-blocking
code paths using echoserver -N and wolfsftp -N.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant