diff options
| author | Haw Loeung <[email protected]> | 2023-10-28 09:43:47 +1100 |
|---|---|---|
| committer | Haw Loeung <[email protected]> | 2023-10-28 09:43:47 +1100 |
| commit | 9d2b13769d4594ec80f546160d038cbc9dfded87 (patch) | |
| tree | 1831916ec9841b80d69d47166e02944c1590190e /tests/unit/test_content_cache.py | |
| parent | cb07f491f522cbfd5f34c99539e61c4aa8c441e3 (diff) | |
Allow adding HAProxy resolve options
Diffstat (limited to 'tests/unit/test_content_cache.py')
| -rw-r--r-- | tests/unit/test_content_cache.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/test_content_cache.py b/tests/unit/test_content_cache.py index 789b411..f12286e 100644 --- a/tests/unit/test_content_cache.py +++ b/tests/unit/test_content_cache.py @@ -597,6 +597,8 @@ site1.local: backends: - _http._tcp.us.archive.ubuntu.com:80 srv 2 - _http._tcp.gb.archive.ubuntu.com:80 srv 2 backup + backend-options: + - resolve-prefer ipv4 ''' self.mock_config.return_value = {'haproxy_hard_stop_after': '15m', 'max_connections': 8192, 'sites': config} with mock.patch('lib.haproxy.HAProxyConf.conf_file', new_callable=mock.PropertyMock) as mock_conf_file: |
