This can be useful when debugging problems with netperf testing.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
test_modules/Netperf.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test_modules/Netperf.py b/test_modules/Netperf.py
index ada3c36..67d63f3 100644
--- a/test_modules/Netperf.py
+++ b/test_modules/Netperf.py
@@ -398,8 +398,10 @@ class Netperf(TestGeneric):
if e.errno == errno.EINTR:
client.kill()
+ output = client.read_nonblocking()
+ logging.debug(output)
+
if ret_code == 0:
- output = client.read_nonblocking()
client_results.append(self._parse_output(output))
if len(client_results) > 0:
--
2.4.11