1
0
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:
Alasdair G Kergon 2017-04-20 20:05:07 +01:00
parent 83cdba75bd
commit c7fb0cb861
3 changed files with 13 additions and 0 deletions

View File

@ -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 "$@"

View File

@ -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
#

View File

@ -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
#