From b9ed9ecc236d58f7c0426fd797a17d35b065c96a Mon Sep 17 00:00:00 2001 From: Vincenzo Maffione Date: Fri, 21 Apr 2017 22:29:46 +0200 Subject: testbeds: qemu: minor rearrangements on log prints --- rumba/testbeds/qemu.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'rumba/testbeds/qemu.py') diff --git a/rumba/testbeds/qemu.py b/rumba/testbeds/qemu.py index e81c383..6121e6b 100644 --- a/rumba/testbeds/qemu.py +++ b/rumba/testbeds/qemu.py @@ -75,7 +75,7 @@ class Testbed(mod.Testbed): if not ignore_errors: break if errors == 0: - results_queue.put("Command chain ran correctly.") + results_queue.put("Command chain ran correctly") else: results_queue.put("Command chain ran with %d errors" % errors) @@ -196,9 +196,9 @@ class Testbed(mod.Testbed): try: # Check for results result = r_queue.get(timeout=1) - if result == "Command chain ran correctly.": + if result == "Command chain ran correctly": over_processes += 1 - logger.debug('%s of %s processes completed.', + logger.debug('%s/%s processes completed', over_processes, total_processes) except: max_waiting_time -= 1 @@ -348,10 +348,10 @@ class Testbed(mod.Testbed): try: # Check for results result = results_queue.get(timeout=1) - if result == "Command chain ran correctly.": + if result == "Command chain ran correctly": over_processes += 1 - logger.debug('%s of %s tear-down port ' - 'processes completed.', + logger.debug('%s/%s tear-down port ' + 'processes completed', over_processes, total_processes) except: max_waiting_time -= 1 @@ -387,10 +387,10 @@ class Testbed(mod.Testbed): try: # Check for results result = results_queue.get(timeout=1) - if result == "Command chain ran correctly.": + if result == "Command chain ran correctly": over_processes += 1 - logger.debug('%s of %s tear-down shim ' - 'processes completed.' + logger.debug('%s/%s tear-down shim ' + 'processes completed' % (over_processes, total_processes)) except: max_waiting_time -= 1 -- cgit v1.2.3