You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ms...@apache.org on 2016/09/09 06:50:29 UTC
incubator-airflow git commit: [AIRFLOW-488] Fix test_simple fail
Repository: incubator-airflow
Updated Branches:
refs/heads/master 247955d42 -> 32f3c1c5d
[AIRFLOW-488] Fix test_simple fail
Make unittest test_simple pass on all platforms
including MacOs.
Closes #1782 from forevernull/master
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/32f3c1c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/32f3c1c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/32f3c1c5
Branch: refs/heads/master
Commit: 32f3c1c5d4acac56a1ebdc36cd9a8c71ace35e5c
Parents: 247955d
Author: forevernull <fo...@163.com>
Authored: Fri Sep 9 12:19:53 2016 +0530
Committer: Sumit Maheshwari <su...@qubole.com>
Committed: Fri Sep 9 12:19:53 2016 +0530
----------------------------------------------------------------------
airflow/contrib/operators/ssh_execute_operator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/32f3c1c5/airflow/contrib/operators/ssh_execute_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/ssh_execute_operator.py b/airflow/contrib/operators/ssh_execute_operator.py
index 123f1d8..2a6176d 100644
--- a/airflow/contrib/operators/ssh_execute_operator.py
+++ b/airflow/contrib/operators/ssh_execute_operator.py
@@ -55,7 +55,7 @@ class SSHTempFileContent(object):
prefix = self._prefix
pmktemp = ssh_hook.Popen(["-q",
- "mktemp", "--tmpdir", prefix + "_XXXXXX"],
+ "mktemp", "-t", prefix + "_XXXXXX"],
stdout=subprocess.PIPE,
stderr=STDOUT)
tempfile = pmktemp.communicate()[0].rstrip()