From: Elena Gryaznova Date: Tue, 22 Mar 2022 14:41:08 +0000 (+0300) Subject: LU-15672 tests: fix typo in facet_failover_host() X-Git-Tag: 2.15.51~145 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=92b59ed74c58d365e3ea5105aaf139981f2364f8;p=fs%2Flustre-release.git LU-15672 tests: fix typo in facet_failover_host() mgsfailover_HOST is to be equal to mds1failover_HOST if mds and mgs are combined and mds1failover_HOST is not empty. Fixes: 36475ba5fc ("LU-9272 tests: fix for facet_failover mgs") Signed-off-by: Elena Gryaznova HPE-bug-id: LUS-10746 Reviewed-by: Alexander Boyko Reviewed-by: Alexander Zarochentsev Change-Id: Iadd27e977d95794a53149a99380296329469452c Reviewed-on: https://review.whamcloud.com/46892 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index a8a95b0..1dfb655 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -4099,9 +4099,8 @@ facet_failover_host() { fi if combined_mgs_mds && [ $facet == "mgs" ] && - [ -z $mds1failover_HOST ]; then - temp=mds1failover_HOST - echo ${!temp} + [ -n "$mds1failover_HOST" ]; then + echo $mds1failover_HOST return fi