diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-25 12:57:42 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-26 15:40:34 +0200 |
commit | 1678bd2f81096b3b2b7c09f335e9c5cc8da96dca (patch) | |
tree | afd9ba00372bb267fbb4343d721873f9e56f8987 /test/TEST-64-UDEV-STORAGE | |
parent | bf2cc3865ab1cabe9e78924488521eeb190c0a2b (diff) | |
download | systemd-1678bd2f81096b3b2b7c09f335e9c5cc8da96dca.tar.gz |
test: lower the # of mpath devices to 16
to make the test suitable for slower machines.
Diffstat (limited to 'test/TEST-64-UDEV-STORAGE')
-rwxr-xr-x | test/TEST-64-UDEV-STORAGE/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-64-UDEV-STORAGE/test.sh b/test/TEST-64-UDEV-STORAGE/test.sh index fe80434309..36c2dcd51b 100755 --- a/test/TEST-64-UDEV-STORAGE/test.sh +++ b/test/TEST-64-UDEV-STORAGE/test.sh @@ -286,8 +286,8 @@ EOF mkfs.ext4 -U "deadbeef-dead-dead-beef-111111111111" -L "failover_vol" "${lodev}p2" losetup -d "$lodev" - # Add 64 multipath devices, each backed by 4 paths - for ndisk in {0..63}; do + # Add 16 multipath devices, each backed by 4 paths + for ndisk in {0..15}; do wwn="0xDEADDEADBEEF$(printf "%.4d" "$ndisk")" # Use a partitioned disk for the first device to test failover [[ $ndisk -eq 0 ]] && image="$partdisk" || image="${TESTDIR:?}/disk$ndisk.img" |