Zdenek Kabelac
460ff472f9
cleanup: typos in test comments
2024-08-30 16:51:15 +02:00
Zdenek Kabelac
4efe8e83cf
tests: add more sleep time
...
Give some more waiting time to testing loop.
2024-03-20 11:19:26 +01:00
Zdenek Kabelac
39cc12e7c2
tests: use zero device
...
Change the test to use 'zero' backend, so we could use larger size
and get 'larger' buffer of dirty blocks for fast CPUs...
2023-07-17 13:42:58 +02:00
Zdenek Kabelac
ac25dd9be6
tests: faster check for flushing
...
Try minimizing delay in detecting 'cleaner' policy precence,
so we can fast interrupt running lvconvert.
2023-07-15 11:05:35 +02:00
Zdenek Kabelac
53bad89a7b
tests: added check for kernel version
...
With older kernels this test can't work reliable,
since 'suspend' used to clean all dirty blocks
(taking even several seconds).
2021-03-17 00:59:50 +01:00
Zdenek Kabelac
57e1e037b6
tests: improve cache abort test
...
Use bigger volume and slowdown writing to cache device.
This allows more simple to reach 'dirty' state.
Also document exactly 1 SIGINT has to fire aborting of flushing.
2020-09-14 00:15:14 +02:00
David Teigland
214235367b
tests: enable lvcreate cache tests with lvmlockd
...
Tests that want to use lvcreate to create a new
origin LV and then combine it with an existing
cache pool to create a cache LV.
2018-05-30 15:56:08 -05:00
Zdenek Kabelac
8a2448a4ed
tests: skip test for non dirty cache
...
Seems some cache LV can't be made dirty easily with older
cache policy implementations....
2017-07-14 00:42:40 +02:00
Zdenek Kabelac
e88534b680
tests: delay read of cache pool data
...
It's better to delay read of cached data.
Limit loop checking for cleaner policy.
2017-07-13 21:11:16 +02:00
Zdenek Kabelac
b97f75b133
tests: improve logic for a race to catch abortion
2017-07-11 17:21:25 +02:00
Zdenek Kabelac
7a8f87d28b
tests: replace egrep
2017-07-10 14:23:53 +02:00
Zdenek Kabelac
e55bae2b2c
tests: use bash
2017-07-10 14:23:53 +02:00
Zdenek Kabelac
24751b45bd
tests: double quote
2017-07-10 14:23:53 +02:00
Zdenek Kabelac
1b9bf5ce9e
tests: slightly longer delay
...
Try to avoid race with slightly longer delay.
2017-06-24 22:58:08 +02:00
Zdenek Kabelac
cb2c2484b9
tests: flushing of cache is abortable
2017-06-22 20:17:20 +02:00