Message8145
The README in the test directory doesn't contain any hints on what is needed to run the tests:
- What database users do we need
- What passwords can we use
- Can we override the default config
I think the tests should either honor settings in the environment or have a small (optional, not checked into a version control system) config file.
The test *used to* honor the settings RDBMS_USER and RDBMS_PASSWORD in the environment. They no longer seem to do this. Note that having the password in an environment variable constitutes a security risk. But it is still much better than requiring a hard-coded password in the source.
In addition in Postgres when I do have a database user 'rounduptest' most tests run for me.
But a lot of tests seem to use a username 'rounduptest_schema' with an unknown/undocumented password. I'm currently not able to make these tests run. |
|
Date |
User |
Action |
Args |
2024-10-21 14:22:35 | schlatterbeck | set | recipients:
+ schlatterbeck, rouilj |
2024-10-21 14:22:35 | schlatterbeck | set | messageid: <1729520555.54.0.52150611584.issue2551366@roundup.psfhosted.org> |
2024-10-21 14:22:35 | schlatterbeck | link | issue2551366 messages |
2024-10-21 14:22:35 | schlatterbeck | create | |
|