Skip to content

Commit

Permalink
Increase zypper refresh timeout in zypper_lifecycle
Browse files Browse the repository at this point in the history
Due to poo#115292, increase "zypper refresh" timeout value
to download and parse the metadata of packages for maintenance
jobs which have many repositories.
  • Loading branch information
rfan1 committed Aug 16, 2022
1 parent 2b02a47 commit 80ba290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/console/zypper_lifecycle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ sub run {
script_run('rm -fr /var/cache/zypp/solv /var/cache/zypp/solv');
script_run('rm -fr /var/cache/zypp/raw /var/cache/zypp/raw');

# We add 'zypper ref' here to download and preparse the metadata of packages,
# We add 'zypper ref' here to download and parse the metadata of packages,
# which will make the following 'zypper lifecycle' runs faster.
script_run('zypper refresh', 300);
script_run('zypper refresh', 420);

select_console 'user-console';
my $overview = script_output('zypper lifecycle', 600);
Expand Down

0 comments on commit 80ba290

Please sign in to comment.