Skip to content

Commit

Permalink
Enable ctdb test in Aggregates in osd
Browse files Browse the repository at this point in the history
TEAM-9607 - Enable ctdb test in Aggregates in osd
  • Loading branch information
lilyeyes committed Aug 30, 2024
1 parent 1c58427 commit 1ab2ce0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/ha/clvmd_lvmlockd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit 1ab2ce0

Please sign in to comment.