Peter Rajnoha
1417ed304b
cleanup: rename 'invisible devices' to 'hidden devices'
2016-01-13 15:22:46 +01:00
Peter Rajnoha
efab21b411
test: add report-invisible.sh test
2016-01-13 14:37:09 +01:00
Peter Rajnoha
c66a83fdc3
tests: update tests to deal with invisible devices consistently
2016-01-13 13:55:24 +01:00
Ondrej Kozina
1a3ee6402e
test: conditional skip of auto-activation bg polling test
...
if dm-snapshot-merge target not present skip whole test
2016-01-12 13:32:23 +01:00
Ondrej Kozina
d09246a07d
test: add test for autoactivation regression
...
add test for a regression fixed in
40701af969
2016-01-12 11:40:43 +01:00
Zdenek Kabelac
07b9147ced
tests: check lvrename of stacked cache pool
2015-12-11 20:15:57 +01:00
Zdenek Kabelac
0688dbbc53
tests: fix logging
...
Actually file redirection must be before stderr redir.
2015-12-10 21:01:24 +01:00
Zdenek Kabelac
fedf15ffb0
tests: extend test
2015-12-04 22:10:30 +01:00
Zdenek Kabelac
89418c1253
tests: check read-only backup archive
2015-12-03 18:17:45 +01:00
Zdenek Kabelac
c717ea5fc0
tests: unit test for mirror status
2015-12-01 13:00:52 +01:00
Zdenek Kabelac
1fb8d746d6
tests: make unit testing usable again
...
Make unit tests usable/compilable with newer header files.
Add 'initial' dmlist_t for list tests.
More will come...
2015-11-27 11:22:21 +01:00
Zdenek Kabelac
8d86c5db03
tests: improve teardown
...
Do not try to execute vgremove, when test has left suspended devices.
2015-11-24 11:29:28 +01:00
Zdenek Kabelac
a220939d9e
tests: data correctness after thin-pool resize
2015-11-24 11:29:27 +01:00
Zdenek Kabelac
da50f8bee6
tests: more cache conversion checks
2015-11-19 14:40:49 +01:00
Marian Csontos
6f002c29a5
tests: stacktrace on skip if message is empty
2015-11-19 12:18:33 +01:00
Marian Csontos
2a23550cf3
tests: add missing --skip option and S env.variable
2015-11-19 12:00:59 +01:00
Peter Rajnoha
0a2cadf6b8
libdm: report: consolidate use of string list selection structures
2015-11-18 10:54:09 +01:00
David Teigland
7b11ef6de0
tests: update lvmcache-exercise
...
To handle multiple VGs with the same name.
Simply using the VG name is ambiguous, and
lvmetad requires the VG uuid be used to
specify which one is meant.
2015-11-17 12:12:17 -06:00
Zdenek Kabelac
e31f4b76f4
cache: handle older metadata format
...
When reading older lvm2 metadata for cache-pool - we now handle more
extended syntax - basically we want to enter most setting when
actually creating cached LV.
For this new validation code has been added. However older metadata
without new settings set is now found as invalid.
Fix it by adding default settings for cache policy mq
and cache mode writethrough.
2015-11-16 01:12:57 +01:00
David Teigland
e425bce281
tests: allow lvmetad tests with duplicate VG names
2015-11-13 15:09:26 -06:00
Zdenek Kabelac
ea1814cea8
tests: without delay_dev skip some checks
...
When delay_dev is missing these tests are just racy.
2015-11-13 11:17:07 +01:00
Zdenek Kabelac
a0cb92cbb1
tests: handle missing delay_dev
...
Try to run as much of test which could run without delay_dev.
2015-11-09 19:07:53 +01:00
Zdenek Kabelac
7103012754
tests: update test to check for race better
...
Use delay_dev to slow down mirror sync so we could more
easily check for race and proper reject of parallel mirror
leg addition/reduction.
Also expose fail in mirror allocation of parallel leg.
2015-11-09 12:21:17 +01:00
Zdenek Kabelac
ab4773671b
tests: do not skip test when delay is missing
...
Rather then skipping whole test - just do not use it.
Failing tests that have required delay need to deal with reality
and shell either check for HAVE_DM_DELAY and skip portion
of test or using should when needed.
2015-11-09 12:21:17 +01:00
David Teigland
b9341e36f1
test: disable duplicate VG name test for lvmetad
...
Until we decide how duplicate VG names should be
handled by lvmetad, and implement that.
2015-11-06 15:58:22 -06:00
David Teigland
19feda2c95
tests: skip duplicate vg names test with lvmetad
...
If two PVs have different VGs with the same name
(different uuids), one of the VGs is ignored by
lvmetad. A FIXME exists in lvmetad to find a
better response.
2015-11-03 13:25:35 -06:00
Marian Csontos
cf06d942b8
test: api subdirectory is needed in PATH by pytest
2015-11-02 14:16:46 +01:00
Marian Csontos
83d3cc76f3
test: Run pytest with installed libs
2015-11-02 12:52:30 +01:00
Alasdair G Kergon
15a97cc610
pre-release
2015-10-30 15:34:00 +00:00
Peter Rajnoha
5b04eda93f
tests: add report-fields.sh test
2015-10-30 15:47:56 +01:00
Peter Rajnoha
9a3b64e81a
tests: add test for minimum mda size
2015-10-30 10:02:00 +01:00
Zdenek Kabelac
28e54032c0
tests: update test for resize
...
Drop already tested 'threshold & create' which is in
lvextend-thin-full.sh
Count with now match faster 'dmeventd' wakeup on watermark
as it's now nearly instant after crossing threshold value.
2015-10-29 15:11:16 +01:00
Ondrej Kozina
bca55c9b20
tests: replace invalid use of 'fail' with 'die'
2015-10-29 13:30:29 +01:00
Zdenek Kabelac
f104a81932
tests: let pass bigger readahead
...
If the underlaying device has actually bigger read-ahead settings,
let it pass.
But anyway switch to 512 strip-size to get really high R-A sector count.
2015-10-29 12:39:07 +01:00
Zdenek Kabelac
3720eb63be
tests: fix wrong line has been commented
2015-10-29 12:39:07 +01:00
Zdenek Kabelac
8b5525383f
tests: no point in using should
...
lvmetad does not support lvm1 - so expect failure.
2015-10-29 12:39:07 +01:00
Zdenek Kabelac
6e1e0e8813
tests: using matching type
...
Compare time_t.
2015-10-27 16:00:10 +01:00
Zdenek Kabelac
4159680a0e
tests: use more SKIP
...
Speed-up check_lvmpolld.
2015-10-27 16:00:09 +01:00
Zdenek Kabelac
76cff10a73
tests: avoid reading utils when skipping
...
Save even more CPU/time and avoid reading utils, when skipping test.
2015-10-27 16:00:09 +01:00
Zdenek Kabelac
3b5939bbbb
tests: use skip flags
...
corrected usage of skip flags.
2015-10-27 00:45:37 +01:00
Zdenek Kabelac
a2dd1f6e19
tests: support skip flags
2015-10-26 23:57:47 +01:00
Zdenek Kabelac
c301cc5d38
tests: extend timer for 4 hours
...
Extend max time for test suite to 4 hours.
Also replace some 'non-ascii' chars from source files
and keep them plain ascii.
2015-10-26 23:57:47 +01:00
Zdenek Kabelac
b29593378f
tests: snapshot now respects threshold
2015-10-26 07:38:23 +01:00
Zdenek Kabelac
2786cd27da
tests: enable raid test on 4.3
...
With kernel -rc6 it's passing our raid tests again - so enable
it in tests.
Note: related only to Fedora rawhide kernels...
2015-10-22 22:46:10 +02:00
Ondrej Kozina
ef4d69f456
tests: add lvmetad shutdown on idle test
2015-10-20 15:45:28 +02:00
Ondrej Kozina
392248186e
tests: add test for missing mirror in-sync info
2015-10-20 12:19:02 +02:00
Zdenek Kabelac
acc70de439
tests: more extend testing
2015-10-13 16:02:21 +02:00
Zdenek Kabelac
cf1c2da836
tests: wait for initial sync
...
Raid should be in-sync ATM for any gaming.
2015-10-13 16:02:21 +02:00
Zdenek Kabelac
c4cc5eabfe
tests: start logging dmeventd output
...
Log dmeventd output from test - keep output logging in test
and avoid sending messages to syslog.
2015-10-13 16:02:21 +02:00
Zdenek Kabelac
8cc21354c2
tests: better regex check
...
Enhance check for matching prefix.
2015-10-13 16:02:20 +02:00