View unhealthy_fnord_test
varnishtest "Unhealthy Fnord responds with cached content"
# fnord. fake server name must start with "s"
server s1 {
rxreq
expect req.url == "/platform/test"
txresp -hdr "Content-Type: application/vnd.itv.ctv.production.v1+hal+json; charset=UTF-8" -hdr "Vary: Accept" -body "{\"hello\": \"world\"}"
accept
View expired_grace_period_varnish_test.vct
varnishtest "Check expired grace with sick backends"
# ################################
# Sample varnishtest script to test expired varnish grace period.
# TODO:
# - Include our VCL
# - Overwrite grace and ttl periods
# ################################
server s1 {