This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
test: add contract tests for tiles caching #431
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
docker-compose.yml
:CONTILE_TILES_TTL
environment variable to0
, preventing interactions between scenario executions due to tiles caching.scenarios.yml
:success_tiles_cache_expired
in order to test that Contile requests tiles from the partner, when its cached tiles are expired.scenarios_tiles_cache.yml
:success_tiles_cache_with_same_form_and_region
in order to test that Contile will use tiles from its cache, instead of from the partner, for requests that map to the same form-factor and region.success_tiles_cache_with_different_form_and_region
in order to test that Contile will use tiles from the partner, instead of from its cache, for requests that map to different form-factors and regions.docker-compose.tiles_cache.yml
:CONTILE_TILES_TTL
environment variable to900
(15 minutes is the production default)SCENARIOS_FILE
environment variable toscenarios_tiles_cache.yml
Issue(s)
CONSVC-1232