[ARVADOS] updated: efc42e74d68cd131db98a2582077bd34d72ebc0b

git at public.curoverse.com git at public.curoverse.com
Tue Jun 9 11:34:19 EDT 2015


Summary of changes:
 sdk/python/tests/run_test_server.py | 9 +++++++++
 1 file changed, 9 insertions(+)

       via  efc42e74d68cd131db98a2582077bd34d72ebc0b (commit)
      from  1c03f0c13bd55683a12c68d9bfc2a602b7815a16 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit efc42e74d68cd131db98a2582077bd34d72ebc0b
Author: Nico Cesar <nico at curoverse.com>
Date:   Tue Jun 9 11:32:25 2015 -0400

    openssl self cert creation failed because missing of "tmp" directory.
    api server failed to start because missing "tmp/logs" and "tmp/api" ditectories
    
    no issue #

diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py
index 271b525..b25bf62 100644
--- a/sdk/python/tests/run_test_server.py
+++ b/sdk/python/tests/run_test_server.py
@@ -165,6 +165,15 @@ def run(leave_running_atexit=False):
     # died, or we have lost our credentials, or something else is
     # preventing us from calling reset(). Start a new one.
 
+    if not os.path.exists('tmp'):
+        os.makedirs('tmp')
+
+    if not os.path.exists('tmp/api'):
+        os.makedirs('tmp/api')
+
+    if not os.path.exists('tmp/logs'):
+        os.makedirs('tmp/logs')
+
     if not os.path.exists('tmp/self-signed.pem'):
         # We assume here that either passenger reports its listening
         # address as https:/0.0.0.0:port/. If it reports "127.0.0.1"

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list