Commit c24528e9 authored by Tim Leers's avatar Tim Leers

add test

parent 08d5b70e
......@@ -304,6 +304,12 @@ regression:tls:change-secret:
- cd ../test/e2e/changeTLSsecret
- make deploy verify-first upgrade verify-second undeploy
example:unhealthy-pods:
extends: .integration-tests
script:
- cd ../test/e2e/unhealthyPod
- make deploy verify undeploy
example:file-cache:
extends: .integration-tests
script:
......
......@@ -13,21 +13,19 @@ client c1 -connect "${localhost} ${localport}" {
} -run
client c1 -connect "${localhost} ${localport}" {
txreq -url /muckefuck/baz/quux -hdr "Host: cafe.example.com"
txreq -url /coffee/foo/bar
rxresp
expect resp.status == 200
expect resp.body ~ "(?m)^URI: /muckefuck/baz/quux$"
expect resp.body ~ "(?m)^Server name: muckefuck-[a-z0-9]+-[a-z0-9]+$"
expect resp.status == 404
} -run
client c1 -connect "${localhost} ${localport}" {
txreq -url /coffee/foo/bar
txreq -url /milk -hdr "Host: cafe.example.com"
rxresp
expect resp.status == 404
} -run
client c1 -connect "${localhost} ${localport}" {
txreq -url /milk -hdr "Host: cafe.example.com"
txreq -url /tea/foo/bar -hdr "Host: tea.example.com"
rxresp
expect resp.status == 404
} -run
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment