Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP6:Update
lvm2
0024-tests-better-slowdown.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0024-tests-better-slowdown.patch of Package lvm2
From dc31f8bdd8d6685c04802a023b769fe9310f1c91 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac <zkabelac@redhat.com> Date: Wed, 23 Aug 2023 13:47:06 +0200 Subject: [PATCH 24/24] tests: better slowdown --- test/shell/lvconvert-mirror.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/shell/lvconvert-mirror.sh b/test/shell/lvconvert-mirror.sh index 17ed033b2..461d14748 100644 --- a/test/shell/lvconvert-mirror.sh +++ b/test/shell/lvconvert-mirror.sh @@ -323,10 +323,10 @@ SHOULD= aux throttle_dm_mirror || SHOULD=should # Use large enough mirror that takes time to sychronize with small regionsize -lvcreate -aey -L30 -Zn -Wn --type mirror --regionsize 16k -m2 -n $lv1 $vg "$dev1" "$dev2" "$dev4" "$dev3:$DEVRANGE" +lvcreate -aey -L20 -Zn -Wn --type mirror --regionsize 4k -m2 -n $lv1 $vg "$dev1" "$dev2" "$dev4" "$dev3:$DEVRANGE" $SHOULD not lvconvert -m-1 $vg/$lv1 "$dev1" 2>&1 | tee out aux restore_dm_mirror -grep "not in-sync" out +$SHOULD grep "not in-sync" out lvconvert $vg/$lv1 # wait @@ -341,7 +341,7 @@ lvremove -ff $vg aux throttle_dm_mirror || : # No parallel lvconverts on a single LV please # Use big enough mirror size and small regionsize to run on all test machines succesfully -lvcreate -aey -Zn -Wn -L30 --type mirror --regionsize 16k -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3:0-8" +lvcreate -aey -Zn -Wn -L20 --type mirror --regionsize 4k -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3:0-8" check mirror $vg $lv1 check mirror_legs $vg $lv1 2 -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor