Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
a0bae480
Unverified
Commit
a0bae480
authored
Oct 26, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust tests to *.xid type change
parent
1d670e2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
r02618.vtc
bin/varnishtest/tests/r02618.vtc
+1
-3
r02645.vtc
bin/varnishtest/tests/r02645.vtc
+1
-3
r03253.vtc
bin/varnishtest/tests/r03253.vtc
+1
-3
No files found.
bin/varnishtest/tests/r02618.vtc
View file @
a0bae480
...
...
@@ -7,13 +7,11 @@ server s1 {
varnish v1 -vcl+backend {
import vtc;
import std;
sub vcl_recv {
return (hash);
}
sub vcl_deliver {
vtc.workspace_alloc(client, -4 *
(std.integer(req.xid, 1001) - 1001) / 2);
vtc.workspace_alloc(client, -4 * (req.xid - 1001) / 2);
}
} -start
...
...
bin/varnishtest/tests/r02645.vtc
View file @
a0bae480
...
...
@@ -7,13 +7,11 @@ server s1 -repeat 100 {
varnish v1 -vcl+backend {
import vtc;
import std;
sub vcl_recv {
return (pass);
}
sub vcl_backend_fetch {
vtc.workspace_alloc(backend, -4 *
(std.integer(bereq.xid, 1002) - 1000) / 2);
vtc.workspace_alloc(backend, -4 * (bereq.xid - 1000) / 2);
}
} -start
...
...
bin/varnishtest/tests/r03253.vtc
View file @
a0bae480
...
...
@@ -7,13 +7,11 @@ server s1 -repeat 100 {
varnish v1 -vcl+backend {
import vtc;
import std;
sub vcl_recv {
return (pass);
}
sub vcl_backend_response {
vtc.workspace_alloc(backend, -4 *
(std.integer(bereq.xid, 1002) - 1000) / 2);
vtc.workspace_alloc(backend, -4 * (bereq.xid - 1000) / 2);
set beresp.do_esi = true;
}
} -start
...
...
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