diff options
author | James E. King III <jking@apache.org> | 2018-03-24 16:32:02 -0400 |
---|---|---|
committer | James E. King III <jking@apache.org> | 2018-04-05 10:25:19 -0400 |
commit | 6f8c99e98170dcd4f311e755b79f7013868c64c5 (patch) | |
tree | 0d8a7a41c707815ed86d624bf81be5317a70185b /test/crossrunner | |
parent | a0cf38ed312a5342eb05574719485b725fa52eee (diff) | |
download | thrift-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.py | 2 |
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 |