[ARVADOS] updated: 1.3.0-3146-gf0cc3c391
Git user
git at public.arvados.org
Mon Sep 14 17:02:28 UTC 2020
Summary of changes:
sdk/python/tests/run_test_server.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
via f0cc3c391e64799ba18e61e069487ca841195093 (commit)
from 3f18ac306f64ef81a9173c6ae452a428ac816309 (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 f0cc3c391e64799ba18e61e069487ca841195093
Author: Ward Vandewege <ward at curii.com>
Date: Mon Sep 14 13:00:45 2020 -0400
Work around Python bug, appending to a FIFO in python >=3 <3.8 is broken
(https://bugs.python.org/issue27805).
No issue #
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py
index f4c1230cc..358608d63 100644
--- a/sdk/python/tests/run_test_server.py
+++ b/sdk/python/tests/run_test_server.py
@@ -327,7 +327,10 @@ def run(leave_running_atexit=False):
env.pop('ARVADOS_API_HOST', None)
env.pop('ARVADOS_API_HOST_INSECURE', None)
env.pop('ARVADOS_API_TOKEN', None)
- logf = open(_logfilename('railsapi'), 'a')
+ if not os.environ.get('ARVADOS_DEBUG', ''):
+ logf = open(_logfilename('railsapi'), 'a')
+ else:
+ logf = open(_logfilename('railsapi'), 'w')
railsapi = subprocess.Popen(
['bundle', 'exec',
'passenger', 'start', '-p{}'.format(port),
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list