[master] e091bcc71 r02618.vtc: Exercise over UDS

Nils Goroll nils.goroll at uplex.de
Sun Apr 23 08:46:10 UTC 2023


commit e091bcc7106f706a7dad8a10049c68538d0bb9bd
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sun Apr 23 10:25:03 2023 +0200

    r02618.vtc: Exercise over UDS
    
    to keep down the number of ephemeral TCP ports used.

diff --git a/bin/varnishtest/tests/r02618.vtc b/bin/varnishtest/tests/r02618.vtc
index 6dd69930b..99ebe8206 100644
--- a/bin/varnishtest/tests/r02618.vtc
+++ b/bin/varnishtest/tests/r02618.vtc
@@ -5,7 +5,7 @@ server s1 {
 	txresp -hdr "Cache-Control: mag-age=3600" -bodylen 1024
 } -start
 
-varnish v1 -vcl+backend {
+varnish v1 -arg "-a ${tmpdir}/v1.sock" -vcl+backend {
 	import vtc;
 	sub vcl_recv {
 		return (hash);
@@ -22,7 +22,7 @@ varnish v1 -cliok "param.set vsl_mask -RespReason,-RespProtocol"
 varnish v1 -cliok "param.set vsl_mask -Timestamp,-Debug"
 varnish v1 -cliok "param.set vsl_mask -VCL_call,-VCL_return,-Hit"
 
-client c1 -repeat 100 {
+client c1 -connect "${tmpdir}/v1.sock" -repeat 100 {
 	txreq -url "/"
 	# some responses will fail (503), some won't. All we care
 	# about here is the fact that we don't panic


More information about the varnish-commit mailing list