diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-21 22:29:46 +0200 |
---|---|---|
committer | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-21 22:33:48 +0200 |
commit | b9ed9ecc236d58f7c0426fd797a17d35b065c96a (patch) | |
tree | 28a0c4d99ece21ddfb8eb27db46ff0b6290a86df | |
parent | 2bc7a6e653cc64ba4ee9dcd528ca5165f063afd8 (diff) | |
download | rumba-b9ed9ecc236d58f7c0426fd797a17d35b065c96a.tar.gz rumba-b9ed9ecc236d58f7c0426fd797a17d35b065c96a.zip |
testbeds: qemu: minor rearrangements on log prints
-rw-r--r-- | rumba/testbeds/qemu.py | 18 |
1 files changed, 9 insertions, 9 deletions
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 |