pgsql: Refactor routine to find single log content pattern in TAP tests

2023-06-08 Thread Michael Paquier
Refactor routine to find single log content pattern in TAP tests The same routine to check if a specific pattern can be found in the server logs was copied over four different test scripts. This refactors the whole to use a single routine located in PostgreSQL::Test::Cluster, named log_contains,

pgsql: Refactor routine to find single log content pattern in TAP tests

2023-06-08 Thread Michael Paquier
Refactor routine to find single log content pattern in TAP tests The same routine to check if a specific pattern can be found in the server logs was copied over four different test scripts. This refactors the whole to use a single routine located in PostgreSQL::Test::Cluster, named log_contains,

pgsql: Refactor routine to find single log content pattern in TAP tests

2023-06-08 Thread Michael Paquier
Refactor routine to find single log content pattern in TAP tests The same routine to check if a specific pattern can be found in the server logs was copied over four different test scripts. This refactors the whole to use a single routine located in PostgreSQL::Test::Cluster, named log_contains,

pgsql: Refactor routine to find single log content pattern in TAP tests

2023-06-08 Thread Michael Paquier
Refactor routine to find single log content pattern in TAP tests The same routine to check if a specific pattern can be found in the server logs was copied over four different test scripts. This refactors the whole to use a single routine located in PostgreSQL::Test::Cluster, named log_contains,

pgsql: Refactor routine to find single log content pattern in TAP tests

2023-06-08 Thread Michael Paquier
Refactor routine to find single log content pattern in TAP tests The same routine to check if a specific pattern can be found in the server logs was copied over four different test scripts. This refactors the whole to use a single routine located in PostgreSQL::Test::Cluster, named log_contains,

pgsql: Refactor routine to find single log content pattern in TAP tests

2023-06-08 Thread Michael Paquier
Refactor routine to find single log content pattern in TAP tests The same routine to check if a specific pattern can be found in the server logs was copied over four different test scripts. This refactors the whole to use a single routine located in PostgreSQL::Test::Cluster, named log_contains,