view test/pg_service.conf @ 8434:66284037142e

refactor: also error on missing file or invalid extension Refactored the code to reuse check that logging config file is set and that the file exists. Now throws error and exits if file name does not end in .ini or .json. Now throws error if file doesn't exist. Before it would just configure default logging as though file wasn't specified. Added tests for these two cases.
author John Rouillard <rouilj@ieee.org>
date Tue, 26 Aug 2025 23:06:40 -0400
parents 8147f6deac9f
children
line wrap: on
line source

[roundup_test_db]
host=127.0.0.1
port=5432
user=rounduptest
password=rounduptest
dbname=rounduptest

[roundup_test_schema]
host=127.0.0.1
port=5432
user=rounduptest_schema
password=rounduptest
dbname=rounduptest_schema
options=-c search_path=roundup_service_dev

[roundup_test_schema_bad]
host=127.0.0.1
port=5432
user=rounduptest_schema
password=rounduptest
dbname=rounduptest_schema
options=-c search_path= 


Roundup Issue Tracker: http://roundup-tracker.org/