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:44 UTC

[2/2] incubator-slider git commit: Test Commit 10

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):