-
Type: Technical Debt
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Compaction
-
Storage Engines
-
2
-
2024-08-06 - Withholding Tax
The compact_util class defined turn_on_bg_compact while test_compact10.py redefines it while this is not needed.
Suggested changes:
diff --git a/test/suite/test_compact10.py b/test/suite/test_compact10.py index 838d908a31..8440dd5e2d 100644 --- a/test/suite/test_compact10.py +++ b/test/suite/test_compact10.py @@ -67,11 +67,6 @@ class test_compact10(backup_base, compact_util): return uris - def turn_on_bg_compact(self, config = ''): - self.session.compact(None, f'background=true,{config}') - while not self.get_bg_compaction_running(): - time.sleep(0.1) - # This test: # - Creates a full backup before background compaction is enabled. # - Waits for background compaction to compact all the files and create a new full backup.