You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by sm...@apache.org on 2014/11/09 19:02:43 UTC
[1/2] incubator-slider git commit: Test Commit 9
Repository: incubator-slider
Updated Branches:
refs/heads/feature/python_unittests 801825d0a -> ea1bd184f
Test Commit 9
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/58f4c8b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/58f4c8b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/58f4c8b3
Branch: refs/heads/feature/python_unittests
Commit: 58f4c8b3c35754a2f805876ca8b3bbf36efcf722
Parents: 801825d
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Sun Nov 9 09:57:42 2014 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Sun Nov 9 09:57:42 2014 -0800
----------------------------------------------------------------------
slider-agent/src/test/python/agent/TestPythonExecutor.py | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/58f4c8b3/slider-agent/src/test/python/agent/TestPythonExecutor.py
----------------------------------------------------------------------
diff --git a/slider-agent/src/test/python/agent/TestPythonExecutor.py b/slider-agent/src/test/python/agent/TestPythonExecutor.py
index 6506758..e6a8592 100644
--- a/slider-agent/src/test/python/agent/TestPythonExecutor.py
+++ b/slider-agent/src/test/python/agent/TestPythonExecutor.py
@@ -125,6 +125,9 @@ class TestPythonExecutor(TestCase):
_, tmpoutfile = tempfile.mkstemp()
_, tmperrfile = tempfile.mkstemp()
_, tmpstroutfile = tempfile.mkstemp()
+ if IS_WINDOWS:
+ if os.path.exists(tmpstroutfile):
+ os.remove(tmpstroutfile)
PYTHON_TIMEOUT_SECONDS = 5
def launch_python_subprocess_method(command, tmpout, tmperr, environment_vars):
[2/2] incubator-slider git commit: Test Commit 10
Posted by sm...@apache.org.
Test Commit 10
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/ea1bd184
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/ea1bd184
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/ea1bd184
Branch: refs/heads/feature/python_unittests
Commit: ea1bd184f0717231604f584325fd8cd485971375
Parents: 58f4c8b
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Sun Nov 9 10:02:36 2014 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Sun Nov 9 10:02:36 2014 -0800
----------------------------------------------------------------------
slider-agent/src/test/python/agent/TestPythonExecutor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/ea1bd184/slider-agent/src/test/python/agent/TestPythonExecutor.py
----------------------------------------------------------------------
diff --git a/slider-agent/src/test/python/agent/TestPythonExecutor.py b/slider-agent/src/test/python/agent/TestPythonExecutor.py
index e6a8592..9a46bd5 100644
--- a/slider-agent/src/test/python/agent/TestPythonExecutor.py
+++ b/slider-agent/src/test/python/agent/TestPythonExecutor.py
@@ -127,7 +127,7 @@ class TestPythonExecutor(TestCase):
_, tmpstroutfile = tempfile.mkstemp()
if IS_WINDOWS:
if os.path.exists(tmpstroutfile):
- os.remove(tmpstroutfile)
+ tmpstroutfile = tmpstroutfile + "_t"
PYTHON_TIMEOUT_SECONDS = 5
def launch_python_subprocess_method(command, tmpout, tmperr, environment_vars):