summaryrefslogtreecommitdiff
path: root/tests/bcachefs/replication.ktest
AgeCommit message (Collapse)Author
2022-09-18tests/bcachefs: Increase some timeoutsKent Overstreet
We're running the CI server heavily loaded - bump these up again. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-07-18tests/bcachefs: add three tests to replication.ktestFlyingWombat
test_device_repeated_add_remove(){ Test rapidly adding and removing the same device. Caught bugs: - found a race condition that leads to a kernel BUG in btree_key_cache. test_add_label(){ Test setting device label when adding Caught bugs: - label was not set correctly; set to dev-0 label instead of new one. test_add_compound_label(){ Test adding a device with a compond label, a '.' separated "path" (e.g. ssd.sata) Caught bugs: - filesystem crashed with message "Invalid superblock section disk_groups".
2022-07-11tests/bcachefs/replication: pass -t bcachefs to mountKent Overstreet
This is needed or we get random mount failures when running a kernel with all the filesystems enabled. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-11tests/bcachefs: Simple test fixesKent Overstreet
Mostly bumping up some timeouts Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Rework ktest -> test interfaceKent Overstreet
This is the start of making .ktest tests programs that are executed directly, instead of having them sourced and invoked by ktest. - Kill require-lib - list_tests, run_test, run_tests are now normal library functions, instead of using code injection Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07tests/bcachefs: Another test timeout fixKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07tests/bcachefs/: bump up test timeoutsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04config-timeout no longer requiredKent Overstreet
Instead, if it's not specified there's a default 10 minute timeout - now that we can specify per-test timeouts the global timeout isn't as important. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-27More test fixupsKent Overstreet
- longer timeout for tiering_buffered, drop_alloc - migrate_fom_fs now works for xfs and ext4 (not btrfs) Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-26More tests have watchdogs nowKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-23bcachefs test updatesKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-12-10Update bcachefs tests for --group -> --labelKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-10-13Add test_key_type_error, fix test_replace_replicaKent Overstreet
Add a new test for verifying that KEY_TYPE_error keys are being created correctly, and fix replace_replica - we need to mark the old device as failed (or remove it) before kicking off rereplicate. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-10-12Test simple drive replacement on a replicated fsChris Webb
This currently fails because metadata doesn't get copied to the replacement device, although the data content of the filesystem does get replicated during the data rereplicate step. Signed-off-by: Chris Webb <chris@arachsys.com>
2020-11-17Add assorted testsKent Overstreet
2019-10-21assorted 2019 updatesKent Overstreet
2018-05-14bcachefs test updatesKent Overstreet
2018-02-08test updatesKent Overstreet
2018-01-07more test improvementsKent Overstreet
2017-12-21more test improvementsKent Overstreet
2017-11-12Massive test refactoringKent Overstreet
2016-12-21move tests around, delete a bit of dead codeKent Overstreet