~pieq/checkbox/fix-1576570-stress-test-progress-log

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-checkbox/bin/pm_test

  • Committer: Pierre Equoy
  • Date: 2016-07-11 09:49:39 UTC
  • Revision ID: pierre.equoy@canonical.com-20160711094939-2ksbvu3h2yoozsda
provider:checkbox: Add progress information in log file when running stress tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
                        self.args.total - self.args.repetitions,
114
114
                        self.args.total).run()
115
115
 
 
116
        logging.info('Starting iteration {0} out of {1}'.format(
 
117
                    self.args.total - self.args.repetitions + 1, self.args.total))
 
118
 
116
119
        # A small sleep time is added to reboot and poweroff
117
120
        # so that script has time to return a value
118
121
        # (useful when running it as an automated test)