mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -03:30
Merge pull request #260 from chrismeyersfsu/feature-workload
scan time should be the same for all hosts
This commit is contained in:
@@ -131,7 +131,11 @@ class Experiment(object):
|
|||||||
time_start = now()
|
time_start = now()
|
||||||
print("Started at: %s" % time_start)
|
print("Started at: %s" % time_start)
|
||||||
print("Generating workload ")
|
print("Generating workload ")
|
||||||
|
|
||||||
|
scan_time_backup = self.scan_time
|
||||||
for host_i in range(0, self.host_count):
|
for host_i in range(0, self.host_count):
|
||||||
|
# Reset scan time
|
||||||
|
self.scan_time = scan_time_backup
|
||||||
sys.stdout.write('.')
|
sys.stdout.write('.')
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
host = FactHost(hostname='hostname_%s.doesnotexist.ansible.com' % host_i).save()
|
host = FactHost(hostname='hostname_%s.doesnotexist.ansible.com' % host_i).save()
|
||||||
|
|||||||
Reference in New Issue
Block a user