summaryrefslogtreecommitdiff
path: root/etc/proxy-server.conf-sample
diff options
context:
space:
mode:
authorAlistair Coles <alistairncoles@gmail.com>2023-03-17 11:01:21 +0000
committerAlistair Coles <alistairncoles@gmail.com>2023-03-17 11:20:34 +0000
commit9a1bfb8975fb1315fb417161a2865b6bb4760415 (patch)
treeadab2b48516b6c3c9cca4b41cd943c05af608ad1 /etc/proxy-server.conf-sample
parent8306e52fccd8bccb59ea4c128b7e8294467d99fa (diff)
downloadswift-9a1bfb8975fb1315fb417161a2865b6bb4760415.tar.gz
proxy: add tests for listing with shard gaps
The existing test_GET_sharded_container_gap_in_shards does not set memcache in the request environ and therefore does not exercise the proxy container controller code path for caching fetched shard ranges. This patch add two new tests: - test_GET_sharded_container_gap_in_shards_memcache which is similar to the existing but sets memcache in the request environ so that the fetched shard ranges (with gaps) are cached by the controller. - test_GET_sharding_container_gap_in_shards_memcache which sets memcache in the request environ but has the root pretend to be in sharding state so that the fetched shard ranges (with gaps) are not cached by the controller. In all cases the pretend root response headers are fixed to include 'X-Backend-Override-Shard-Name-Filter': 'true', which the real container server would return. This is another precondition for shard ranges being cached by the controller. Change-Id: I1f13690174cc2bddeca152a87cc978dee2a136d6
Diffstat (limited to 'etc/proxy-server.conf-sample')
0 files changed, 0 insertions, 0 deletions