7 Commits

Author SHA1 Message Date
Mustafa Elbehery
55e2494a55 chore(CI): add goimports to linter
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
2025-06-15 21:51:36 +02:00
Wei Fu
50a6d91afb tests: deflaky dmflakey.TearDown issue
REF: #947

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-04-23 22:12:33 -04:00
deferdeter
3a180ad9c9 chore: fix function name in comment
Signed-off-by: deferdeter <deferdeter@outlook.com>
2024-04-16 14:25:07 +08:00
Thomas Jungblut
c27eedcf80 Add basic XFS powerfailure tests
This also introduces mkfs options, in case we need to accomodate for
non-default parameters here in the future.

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-03-13 10:18:52 +01:00
Wei Fu
4c3a80b2c0 tests: Update TestRestartFromPowerFailure
Update case with a combination of EXT4 filesystem's commit setting and
unexpected exit event. That EXT4 filesystem's commit is to sync all its data
and metadata every seconds. The kernel can help us sync even if that
process has been killed. With different commit setting, we can simulate
that case that kernel syncs half part of dirty pages before power
failure. And for unexpected exit event, we can kill that process
randomly or panic at failpoint instead of fixed code path.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-02 21:29:46 +08:00
Wei Fu
300e72ab8a tests/robustness: init with powerfailure case
Add `Robustness Test` pipeline for robustness test cases.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-12-08 09:48:57 +08:00
Wei Fu
b05bec2fe3 tests/*: introduce go-dmflakey
This commit is to add go-binding for go-dmflakey. It's used to simulate
powerfailure with common filesystems.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-12-07 08:55:33 +08:00