-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Test Csuite
-
Storage Engines, Storage Engines - Foundations, Storage Engines - Persistence
-
SE Persistence - 2025-05-09
-
3
When running in verify only mode, -v, test programs like random_abort should not copy the database to a save directory. That should only be done in a "normal" execution of the test. Running in verify mode is already debugging purposes.
The diff should be something like this:
diff --git a/test/csuite/random_abort/main.c b/test/csuite/random_abort/main.c
index 189da875ef..952de0cdf2 100644
--- a/test/csuite/random_abort/main.c
+++ b/test/csuite/random_abort/main.c
@@ -811,8 +811,9 @@ main(int argc, char *argv[])
if (chdir(home) != 0)
testutil_die(errno, "parent chdir: %s", home);
- /* Copy the data to a separate folder for debugging purpose. */
- testutil_copy_data(home);
+ if (!verify_only)
+ /* Copy the data to a separate folder for debugging purpose. */
+ testutil_copy_data(home);
/*
* Clear the cache, if we are using LazyFS. Do this after we save the data for debugging