Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oob_probe
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
oob_probe
Commits
ce331e71
Commit
ce331e71
authored
Oct 24, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement the test using semaphores
parent
a0eb3e13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
test01.vtc
src/tests/test01.vtc
+15
-8
No files found.
src/tests/test01.vtc
View file @
ce331e71
...
...
@@ -6,13 +6,20 @@ server s1 {
txresp -body "slash"
rxreq
expect req.url == "/foo"
txresp -body "foo
bar
"
txresp -body "foo"
} -start
server s2
-repeat 3
{
server s2 {
rxreq
sema r1 sync 2
expect req.url == "/"
txresp -body "slash"
txresp -body "one"
accept
rxreq
sema r2 sync 2
expect req.url == "/"
txresp -body "two"
accept
} -start
varnish v1 -vcl {
...
...
@@ -54,12 +61,12 @@ client c1 {
txreq
rxresp
expect resp.status == 500
} -run
delay 2.5
client c1 {
sema r1 sync 2
txreq -url "/foo"
rxresp
expect resp.status == 500
sema r2 sync 2
txreq -url "/bar"
rxresp
expect resp.status == 200
} -run
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