Skip to content

Commit

Permalink
Fix wizard_hana_install script timeout on ppc64le
Browse files Browse the repository at this point in the history
TEAM-9310 - [15-SP6][sles4sap][ppc64le] sles4sap_scc_gnome_hana_wizard sporadically failed on "wizard_hana_install": script timeout
  • Loading branch information
lilyeyes committed May 24, 2024
1 parent 3fe38a3 commit 4d54092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sles4sap.pm
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ Adds the IP address and the hostname of SUT to F</etc/hosts>. Croaks on failure.

sub add_hostname_to_hosts {
my $netdevice = get_var('SUT_NETDEVICE', 'eth0');
assert_script_run "echo \$(ip -4 addr show dev $netdevice | sed -rne '/inet/s/[[:blank:]]*inet ([0-9\\.]*).*/\\1/p') \$(hostname) >> /etc/hosts";
assert_script_run "echo \$(ip -4 addr show dev $netdevice | sed -rne '/inet/s/[[:blank:]]*inet ([0-9\\.]*).*/\\1/p') \$(hostname) >> /etc/hosts", timeout => 300;
}

=head2 test_pids_max
Expand Down
2 changes: 1 addition & 1 deletion tests/sles4sap/wizard_hana_install.pm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ sub run {
# NOTE: not on HanaSR, as DB is managed by the cluster stack
unless (get_var('HA_CLUSTER')) {
select_console 'root-console' unless check_var('DESKTOP', 'textmode');
my $hostname = script_output 'hostname';
my $hostname = script_output 'hostname', timeout => 120;
file_content_replace("/hana/shared/${sid}/profile/${sid}_HDB${instid}_${hostname}", '^Autostart[[:blank:]]*=.*' => 'Autostart = 1');
}

Expand Down

0 comments on commit 4d54092

Please sign in to comment.