swift/test/unit
Chinemerem ee80f99aec Make object-expirer respect internal_client_conf_path
Previously the object-expirer would not respect an internal_client_conf_path option if its config was loaded from a "legacy" config filepath (e.g. **/object-expirer.conf). Legacy object-expirer config expected config sections for an internal-client to be included in the same file. However, "modern" object-expirer config files (e.g. **/object-server.conf) expect internal-client config to be loaded from a separate file specified by internal_client_conf_path and defaulting to 'internal_client_conf_path'.

"Legacy" expirer config is still used in production clusters but it is useful to use a shared internal-client config. This patch therefore makes the internal_client_conf_path option always be respected regardless of the path of the object-expirer conf file. If 'internal_client_conf_path' is not specified, "modern" config will continue to use the default '/etc/swift/internal-client.conf', but "legacy" config will default to the path of the expirer conf file (i.e. the same as the previous behavior).

Related-Change: Ib21568f9b9d8547da87a99d65ae73a550e9c3230
Change-Id: I24ec702cd2ed074ca9df084cefc896418cece394
2024-10-02 08:57:33 -07:00
..
account tests: Check proxy-logging stats on the wire 2024-06-24 11:04:44 -07:00
cli recon-cron: Tolerate missing directories 2024-03-21 14:10:14 -07:00
common Merge "utils: paths with empty components are invalid" 2024-09-10 03:03:09 +00:00
container add bytes of expiring objects to queue entry 2024-06-13 15:47:51 -05:00
obj Make object-expirer respect internal_client_conf_path 2024-10-02 08:57:33 -07:00
proxy Improve test coverage for proxy object DELETE and POST 2024-08-23 16:14:34 +01:00
test_locale py3: port the test of locale 2019-06-19 09:54:14 -07:00
__init__.py Improve test coverage for proxy object DELETE and POST 2024-08-23 16:14:34 +01:00
helpers.py Clean up watchdog threads 2024-05-02 08:30:54 -07:00