Skip to content

Commit

Permalink
Remove ~/.ssh/config created by PC factory (#20194)
Browse files Browse the repository at this point in the history
In a recent commit, PC base class introduce code to write a
configuration ssh file. Setting in this file interfere with some IpAddr2
test steps. Remove the config file just after the factory create it.
  • Loading branch information
mpagot authored Sep 16, 2024
1 parent c9b750d commit 89c9971
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/sles4sap/ipaddr2/deploy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ sub run {

# Init all the PC gears (ssh keys, CSP credentials)
my $provider = $self->provider_factory();
# remove configuration file created by the PC factory
# as it interfere with ssh behavior.
# in particular it has setting about verbosity that
# break test steps that relay to remote ssh comman output
assert_script_run('rm ~/.ssh/config');

my %deployment = (
region => $provider->provider_client->region,
Expand Down

0 comments on commit 89c9971

Please sign in to comment.