While implementing the failpoint code in WT-8032, I add a temporary fix to test format that would pass the timing stress configuration options into the second call it does to wiredtiger_open this is required as the open config generation is performed in create_database and not wts_open.
As such any configuration that isn't persisted in the databases base_config file would be lost between open calls. This included the timing stress configuration.
The work in this ticket is to:
- Create a common function for generating open config.
- Call it from all points where test format opens a database connection.
- Remove the code added in
WT-8032in place of the new functionality.