The GitHub Actions job "Tests (AMD)" on airflow.git/2604/deflake_ssh has succeeded. Run started by GitHub user Dev-iL (triggered by Dev-iL).
Head commit for run: 173a5e0c2bed24ab272b902f12998944f9e40549 / Dev-iL <[email protected]> Fix flaky SSH timeout test by adding mocking The test_command_timeout_fail test was flaky because it relied on real SSH connections and a 1ms timeout, causing paramiko's internal socket timeouts to fire before the select loop could catch them. Replaced real SSH connection with mocks for deterministic testing: - Mock paramiko.SSHClient.exec_command to return controlled channel objects - Mock select to simulate immediate timeout - Use spec on all mocks (Channel, ChannelFile, ChannelStdinFile, ChannelStderrFile) to catch attribute typos - Verify cmd_timeout is correctly threaded through to both exec_command and select calls - Assert cleanup side effects: stdin.close, shutdown_write, shutdown_read, channel.close, stdout.close, stderr.close Report URL: https://github.com/apache/airflow/actions/runs/27203594217 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
