summaryrefslogtreecommitdiffstats
path: root/testing/legion/examples/http_example/http_test.py
diff options
context:
space:
mode:
authormmeade <mmeade@chromium.org>2015-08-12 12:47:29 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-12 19:48:05 +0000
commit07919b7c87beae1a855e122566ded3249f6de273 (patch)
tree211546c323856c5e38f591e74e259a35309f9ede /testing/legion/examples/http_example/http_test.py
parentd033adf524ad3f446594a528b24411e26e2717e7 (diff)
downloadchromium_src-07919b7c87beae1a855e122566ded3249f6de273.zip
chromium_src-07919b7c87beae1a855e122566ded3249f6de273.tar.gz
chromium_src-07919b7c87beae1a855e122566ded3249f6de273.tar.bz2
Adding additional logging to help eliminate flakiness
BUG= Review URL: https://codereview.chromium.org/1291633003 Cr-Commit-Position: refs/heads/master@{#343074}
Diffstat (limited to 'testing/legion/examples/http_example/http_test.py')
-rw-r--r--testing/legion/examples/http_example/http_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/legion/examples/http_example/http_test.py b/testing/legion/examples/http_example/http_test.py
index fe6e767..433a523 100644
--- a/testing/legion/examples/http_example/http_test.py
+++ b/testing/legion/examples/http_example/http_test.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import argparse
+import logging
import os
import sys
@@ -60,6 +61,8 @@ class HttpTest(legion_test_case.TestCase):
['python', 'http_client.py', '--server', server_ip,
'--port', server_port])
client_proc.Wait()
+ logging.info('client_proc.stdout: %s', client_proc.ReadStdout())
+ logging.info('client_proc.stderr: %s', client_proc.ReadStderr())
self.assertEqual(client_proc.GetReturncode(), 0)
finally:
if server_proc: