Skip to content

Commit

Permalink
libgcrypt, nginx, mutt: Add verbose for debugging
Browse files Browse the repository at this point in the history
Increase timeout, maintenance repos are super slow

Retrieving: repomd.xml [.done (253 B/s)]
Checking whether to refresh metadata for http-download.suse.de-6658790f
Retrieving: repomd.xml [.done (253 B/s)]
Checking whether to refresh metadata for http-download.suse.de-6b71bc81
Retrieving: repomd.xml [.done (253 B/s)]
Checking whether to refresh metadata for http-download.suse.de-6e13c51a
Retrieving: repomd.xml [.done (253 B/s)]
Checking whether to refresh metadata for http-download.suse.de-7155363c
Retrieving: repomd.xml [.done (253 B/s)]
Checking whether to refresh metadata for http-download.suse.de-7174ed64
  • Loading branch information
dzedro committed Oct 9, 2023
1 parent 5dc5f47 commit ba3c421
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/services/nginx.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use utils qw(zypper_call common_service_action script_retry);
my $service_type = 'Systemd';

sub install_service {
zypper_call 'in nginx';
zypper_call '-v in nginx', timeout => 1000;
}

sub enable_service {
Expand Down
2 changes: 1 addition & 1 deletion tests/console/libgcrypt.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sub run {
select_console 'root-console';
assert_script_run "rpm -q libgcrypt20";
if (script_run("rpm -q libgcrypt-devel") == 1) {
zypper_call "in gcc libgcrypt-devel";
zypper_call "-v in gcc libgcrypt-devel", timeout => 1000;
}

select_console 'user-console';
Expand Down
3 changes: 1 addition & 2 deletions tests/console/mutt.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ use utils;
sub run {
select_serial_terminal;

zypper_call("in mutt", exitcode => [0, 102, 103]);
zypper_call("in wget", exitcode => [0, 102, 103]);
zypper_call("-v in mutt wget", exitcode => [0, 102, 103], timeout => 1000);

# Mutt is Mutt (bsc#1094717) and has build in support for IMAP and SMTP
validate_script_output 'mutt -v', sub { m/\+USE_IMAP/ && m/\+USE_SMTP/ && not m/NeoMutt/ };
Expand Down

0 comments on commit ba3c421

Please sign in to comment.