mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-23 13:57:47 +03:00
test: Skip some reshape tests that hang on single core machines
Skip hanging raid reshape tests until https://bugzilla.redhat.com/1443999 is fixed
This commit is contained in:
parent
83cdba75bd
commit
c7fb0cb861
@ -1490,6 +1490,11 @@ have_readline() {
|
||||
echo version | lvm &>/dev/null
|
||||
}
|
||||
|
||||
have_single_core() {
|
||||
which nproc &>/dev/null || return 0
|
||||
[ $(nproc) -eq 1 ] && return 1
|
||||
}
|
||||
|
||||
dmsetup_wrapped() {
|
||||
udev_wait
|
||||
dmsetup "$@"
|
||||
|
@ -17,6 +17,10 @@ SKIP_WITH_LVMPOLLD=1
|
||||
which mkfs.ext4 || skip
|
||||
aux have_raid 1 10 1 || skip
|
||||
|
||||
# Temporarily skip reshape tests on single-core CPUs until there's a fix for
|
||||
# https://bugzilla.redhat.com/1443999 - AGK 2017/04/20
|
||||
aux have_single_core || skip
|
||||
|
||||
aux prepare_vg 5
|
||||
|
||||
#
|
||||
|
@ -17,6 +17,10 @@ SKIP_WITH_LVMPOLLD=1
|
||||
which mkfs.ext4 || skip
|
||||
aux have_raid 1 10 1 || skip
|
||||
|
||||
# Temporarily skip reshape tests on single-core CPUs until there's a fix for
|
||||
# https://bugzilla.redhat.com/1443999 - AGK 2017/04/20
|
||||
aux have_single_core || skip
|
||||
|
||||
aux prepare_vg 5
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user