summaryrefslogtreecommitdiff
path: root/test/crossrunner
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2018-03-24 16:32:02 -0400
committerJames E. King III <jking@apache.org>2018-04-05 10:25:19 -0400
commit6f8c99e98170dcd4f311e755b79f7013868c64c5 (patch)
tree0d8a7a41c707815ed86d624bf81be5317a70185b /test/crossrunner
parenta0cf38ed312a5342eb05574719485b725fa52eee (diff)
downloadthrift-6f8c99e98170dcd4f311e755b79f7013868c64c5.tar.gz
THRIFT-3118: add http (for non-ssl and for ssl) to the python cross tests
Diffstat (limited to 'test/crossrunner')
-rw-r--r--test/crossrunner/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crossrunner/run.py b/test/crossrunner/run.py
index 25c58cef3..a7bc939ea 100644
--- a/test/crossrunner/run.py
+++ b/test/crossrunner/run.py
@@ -235,7 +235,7 @@ def run_test(testdir, logdir, test_dict, max_retry, async=True):
logger.warn('[%s]: Detected socket bind failure, retrying...', test.server.name)
bind_retry_count += 1
else:
- result = RESULT_TIMEOUT if cl.expired else cl.returncode if cl.proc.poll() is not None else RESULT_ERROR
+ result = RESULT_TIMEOUT if cl.expired else cl.returncode if (cl.proc and cl.proc.poll()) is not None else RESULT_ERROR
# For servers that handle a controlled shutdown by signal
# if they are killed, or return an error code, that is a