diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2019-12-16 12:52:41 +0000 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2019-12-18 08:10:28 +0000 |
commit | a7eeab9b497724cdc4de5a82b880ba824a9d8358 (patch) | |
tree | 9f8432371d563363c186888ae0a37e72ecfc835d /tests/00-geo-rep | |
parent | 194e4216c8e30612f96f8f3712fdb3f1c96b3a08 (diff) |
test: fix non-root test case for geo-rep
Problem:
On a freshly installed system non-root geo-rep test case gets blocked.
Solution:
On a freshly installed system, the remote key need to be accepted automatically by ssh-copy-id.
Credits: M. Scherer <mscherer@redhat.com>
Change-Id: I5077f99a6681660f7e3e84c25ef216f521b7c29c
Fixes: bz#1779742
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'tests/00-geo-rep')
-rw-r--r-- | tests/00-geo-rep/00-georep-verify-non-root-setup.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/00-geo-rep/00-georep-verify-non-root-setup.t b/tests/00-geo-rep/00-georep-verify-non-root-setup.t index 076c0c92b08..ed7e589101d 100644 --- a/tests/00-geo-rep/00-georep-verify-non-root-setup.t +++ b/tests/00-geo-rep/00-georep-verify-non-root-setup.t @@ -177,7 +177,7 @@ export DISPLAY export SSH_ASKPASS=${SSH_ASKPASS_SCRIPT} -DISPLAY=: setsid ssh-copy-id -i ~/.ssh/id_rsa.pub $ssh_url +DISPLAY=: setsid ssh-copy-id -o 'PreferredAuthentications=password' -o 'StrictHostKeyChecking=no' -i ~/.ssh/id_rsa.pub $ssh_url ##Setting up PATH for gluster binaries in case of source installation ##ssh -oNumberOfPasswordPrompts=0 -oStrictHostKeyChecking=no $ssh_url "echo "export PATH=$PATH:/usr/local/sbin" >> ~/.bashrc" |