Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
c24528e9
Commit
c24528e9
authored
May 13, 2024
by
Tim Leers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test
parent
08d5b70e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
6 deletions
+10
-6
.gitlab-ci.yml
.gitlab-ci.yml
+6
-0
Makefile
test/e2e/unhealthyPod/Makefile
+0
-0
README.md
test/e2e/unhealthyPod/README.md
+0
-0
cafe-ingress.yaml
test/e2e/unhealthyPod/cafe-ingress.yaml
+0
-0
cafe.vtc
test/e2e/unhealthyPod/cafe.vtc
+4
-6
cafe.yaml
test/e2e/unhealthyPod/cafe.yaml
+0
-0
verify.sh
test/e2e/unhealthyPod/verify.sh
+0
-0
No files found.
.gitlab-ci.yml
View file @
c24528e9
...
...
@@ -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
:
...
...
test/e2e/unhealtyPod/Makefile
→
test/e2e/unhealt
h
yPod/Makefile
View file @
c24528e9
File moved
test/e2e/unhealtyPod/README.md
→
test/e2e/unhealt
h
yPod/README.md
View file @
c24528e9
File moved
test/e2e/unhealtyPod/cafe-ingress.yaml
→
test/e2e/unhealt
h
yPod/cafe-ingress.yaml
View file @
c24528e9
File moved
test/e2e/unhealtyPod/cafe.vtc
→
test/e2e/unhealt
h
yPod/cafe.vtc
View file @
c24528e9
...
...
@@ -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
test/e2e/unhealtyPod/cafe.yaml
→
test/e2e/unhealt
h
yPod/cafe.yaml
View file @
c24528e9
File moved
test/e2e/unhealtyPod/verify.sh
→
test/e2e/unhealt
h
yPod/verify.sh
View file @
c24528e9
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment