Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.8.0, 2.9.0
-
None
Description
Current Situation
- The KeepAlive handling for the SFTP provider used by YADE, introduced with
YADE-626, is incorrect, and the KeepAlive settings have no effect.
Desired Behaviour
- The KeepAlive settings should work as configured and keep the SFTP connection alive as intended.
Test Instructions
- Use the YADE CLI Client to enable the SSHJ provider output directly in the Job log.
- Set the YADE log level to DEBUG.
- Configure the KeepAlive settings on an SFTPFragment, e.g.:
- KeepAliveInterval=1s
- MaxAliveCount=10
- Configure an SFTPPreProcessing / CommandBeforeOperation that executes a sleep command without producing any output, e.g.:
- Windows: @powershell Start-Sleep -Seconds 10
- Unix: sleep 10
- Check the Job log for entries such as:
[DEBUG][sshj-KeepAliveRunner-/...] ... - Making global request for keepalive@openssh.com
Attachments
Issue Links
- is related to
-
YADE-625 YADE SFTP - sshj provider - KeepAlive functionality is broken
-
- Released
-