installer: update time estimates

Time estimates have been updated to be more accurate. Only
tasks that are estimated to take longer than 10 seconds have
the estimate displayed.

https://pagure.io/freeipa/issue/6596

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Tomas Krizek
2017-03-01 17:35:56 +01:00
committed by Martin Basti
parent c37254e1b1
commit 09c6b75780
7 changed files with 17 additions and 11 deletions

View File

@@ -350,7 +350,7 @@ class DsInstance(service.Service):
self.__common_post_setup()
self.start_creation(runtime=60)
self.start_creation(runtime=30)
def enable_ssl(self):
self.steps = []
@@ -359,7 +359,7 @@ class DsInstance(service.Service):
self.step("restarting directory server", self.__restart_instance)
self.step("adding CA certificate entry", self.__upload_ca_cert)
self.start_creation(runtime=10)
self.start_creation()
def create_replica(self, realm_name, master_fqdn, fqdn,
domain_name, dm_password,
@@ -412,7 +412,7 @@ class DsInstance(service.Service):
self.__common_post_setup()
self.start_creation(runtime=60)
self.start_creation(runtime=30)
def __setup_replica(self):