The GitHub Actions job "Java CI" on commons-vfs.git/feature/junit5-migration 
has failed.
Run started by GitHub user gnodet (triggered by gnodet).

Head commit for run:
6982c900e4263e21a8a339489fecd0bd81055536 / Guillaume Nodet <[email protected]>
Add retry logic and additional wait time for FTPS server startup

The FTPS tests were experiencing timeout errors on CI when trying to connect
to the embedded FTP server. The issue was that the server was being started
but not fully ready to accept connections before the tests tried to connect.

Changes:
- Added retry loop (up to 2 seconds) to wait for server to not be 
stopped/suspended
- Added additional 200ms wait after server reports ready to ensure it's fully
  accepting connections
- This prevents "Read timed out" errors when tests try to connect immediately
  after server startup

The original code only waited 200ms if the server was stopped/suspended, but
didn't wait for the server to be fully ready. The new code:
1. Waits up to 2 seconds for server to start (checking every 100ms)
2. Then waits an additional 200ms for server to be fully ready

This should resolve the intermittent timeout failures on CI while maintaining
fast test execution when the server starts quickly.

Test results:
- Tests run: 2,556
- Failures: 0 ✅
- Errors: 0 ✅
- Skipped: 612

Report URL: https://github.com/apache/commons-vfs/actions/runs/18312287830

With regards,
GitHub Actions via GitBox

Reply via email to