-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
5
-
Storage Engines - 2022-10-31, Storage Engines - 2022-11-14, Storage Engines - 2022-11-28, Storage Engines - 2022-12-12, Storage Engines - 2023-01-10, StorEng - 2023-01-24
The test (truncate_15.py) in WT-9673 is hard to reproduce locally and it would have been useful if we had the FTDC data to visualize the statistics in t2 for investigating and finding the root cause of this issue.
I think we should enable the generation of stats for all the python tests unless there is a reason not to.
The solution could be something similar to the diff below:
--- a/test/suite/wttest.py +++ b/test/suite/wttest.py @@ -415,9 +415,10 @@ class WiredTigerTestCase(unittest.TestCase): # or self.conn_extensions def setUpConnectionOpen(self, home): self.home = home - config = self.conn_config + stat_config = 'statistics=(all),statistics_log=(wait=1,json=true,on_close=true)' + config = stat_config + self.conn_config if hasattr(config, '__call__'): - config = self.conn_config() + config = stat_config + self.conn_config() config += self.extensionsConfig() # In case the open starts additional threads, flush first to # avoid confusion.
- is related to
-
WT-9734 Ensure stats are enabled in test format, csuite test, and cpp test
- Closed