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

@@ -450,8 +450,13 @@ class CAInstance(DogtagInstance):
self.step("configuring certmonger renewal for lightweight CAs",
self.__add_lightweight_ca_tracking_requests)
if ra_only:
runtime = None
else:
runtime = 180
try:
self.start_creation(runtime=210)
self.start_creation(runtime=runtime)
finally:
self.clean_pkispawn_files()