bedrock/test_infra
Paul McLanahan b34892178e Add a test for query string respect for the CDN 2021-01-06 09:52:10 -05:00
..
fixtures
README.md Update CDN test running procedure, dockerize ssllabs-scan, and add README 2020-10-23 12:20:41 -04:00
test_cdn.py Add a test for query string respect for the CDN 2021-01-06 09:52:10 -05:00

README.md

CDN Tests

These tests will look for things like the geolocation endpoint functioning properly, the right headers being returned, the requests to /media/* coming from the S3 origin, etc. To run them issue the following command:

$ make TEST_DOMAIN=www.mozorg.moz.works test-cdn

This will download the TLS report if you don't already have it and run the tests against the TEST_DOMAIN you add to the command. If you don't include TEST_DOMAIN in the command it defaults to www.mozilla.org. If you'd like to download a new TLS report just rm test_infra/fixtures/tls.json and run it again.

NOTE: The TLS report download will take a few minutes.