From 1ab2ce04af7b4f9fb619fbe366d105b88f9e6713 Mon Sep 17 00:00:00 2001 From: lilyeyes Date: Fri, 30 Aug 2024 11:01:39 +0800 Subject: [PATCH] Enable ctdb test in Aggregates in osd TEAM-9607 - Enable ctdb test in Aggregates in osd --- tests/ha/clvmd_lvmlockd.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/ha/clvmd_lvmlockd.pm b/tests/ha/clvmd_lvmlockd.pm index a2203a96b42e..36dca5062cdd 100644 --- a/tests/ha/clvmd_lvmlockd.pm +++ b/tests/ha/clvmd_lvmlockd.pm @@ -21,9 +21,10 @@ sub run { my $lvm_conf = '/etc/lvm/lvm.conf'; my $lock_mgr = 'clvm'; - # lvmlockd is only available in SLE15+ + # Only SLE-15+ has support for lvmlockd + set_var('USE_LVMLOCKD', 0) if (get_var('USE_LVMLOCKD') and is_sle('<15')); + if (get_var("USE_LVMLOCKD")) { - die 'lvmlockd can be only used on SLE15+' unless is_sle('15+'); $lock_mgr = 'lvmlockd'; }