def run(self): time.sleep(5) for i in range(self.num_iterations): self.logger.debug( "{0}: register with ak {1} on {2} attempt {3}".format( self.thread_name, self.ak_name, self.vm_ip, i)) time_point = Candlepin.single_register_activation_key( self.ak_name, self.default_org, self.vm_ip) self.time_result_dict[self.thread_name].append(time_point)
def run(self): time.sleep(5) for i in range(self.num_iterations): self.logger.debug( "{0}: register with ak {1} on {2} attempt {3}" .format(self.thread_name, self.ak_name, self.vm_ip, i)) time_point = Candlepin.single_register_activation_key( self.ak_name, self.default_org, self.vm_ip) self.time_result_dict[self.thread_name].append(time_point)