Increase timeout for siging to 10 seconds when signing rpm packages (#35278)

This commit is contained in:
David Murphy 2016-08-08 16:50:05 -06:00 committed by Nicole Thomas
parent 959a00e4b7
commit 72502f5990

View File

@ -425,7 +425,7 @@ def make_repo(repodir, keyid=None, env=None, use_passphrase=False, gnupghome='/e
for file in os.listdir(repodir):
if file.endswith('.rpm'):
abs_file = os.path.join(repodir, file)
number_retries = 5
number_retries = 20
times_looped = 0
error_msg = 'Failed to sign file {0}'.format(abs_file)
cmd = 'rpm {0} --addsign {1}'.format(define_gpg_name, abs_file)