[
https://issues.apache.org/jira/browse/AIRFLOW-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562663#comment-16562663
]
ASF GitHub Bot commented on AIRFLOW-2670:
-----------------------------------------
codecov-io commented on issue #3666: [AIRFLOW-2670] Update SSH Operator's Hook
to respect timeout
URL:
https://github.com/apache/incubator-airflow/pull/3666#issuecomment-409045376
#
[Codecov](https://codecov.io/gh/apache/incubator-airflow/pull/3666?src=pr&el=h1)
Report
> Merging
[#3666](https://codecov.io/gh/apache/incubator-airflow/pull/3666?src=pr&el=desc)
into
[master](https://codecov.io/gh/apache/incubator-airflow/commit/dfa7b26ddaca80ee8fd9915ee9f6eac50fac77f6?src=pr&el=desc)
will **not change** coverage.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/incubator-airflow/pull/3666?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #3666 +/- ##
=======================================
Coverage 77.51% 77.51%
=======================================
Files 205 205
Lines 15751 15751
=======================================
Hits 12210 12210
Misses 3541 3541
```
------
[Continue to review full report at
Codecov](https://codecov.io/gh/apache/incubator-airflow/pull/3666?src=pr&el=continue).
> **Legend** - [Click here to learn
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by
[Codecov](https://codecov.io/gh/apache/incubator-airflow/pull/3666?src=pr&el=footer).
Last update
[dfa7b26...42b907c](https://codecov.io/gh/apache/incubator-airflow/pull/3666?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> SSHOperator's timeout parameter doesn't affect SSHook timeoot
> -------------------------------------------------------------
>
> Key: AIRFLOW-2670
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2670
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib
> Affects Versions: Airflow 2.0
> Reporter: jin zhang
> Priority: Major
>
> when I use SSHOperator, SSHOperator's timeout parameter can't set in SSHHook
> and it's just effect exce_command.
> old version:
> self.ssh_hook = SSHHook(ssh_conn_id=self.ssh_conn_id)
> I change it to :
> self.ssh_hook = SSHHook(ssh_conn_id=self.ssh_conn_id, timeout=self.timeout)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)