コード例 #1
0
 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)
コード例 #2
0
ファイル: thread.py プロジェクト: Ichimonji10/robottelo
 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)