Skip to content

Commit b57b1d1

Browse files
committed
[varnish] fix debug.vtc on mac
1 parent ef0ed20 commit b57b1d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/varnish/debug.vtc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ server s1 {
2222
# interval to avoid further interference
2323
shell {
2424
# testdir is automatically set to the directory containing the present vtc
25-
sed ${testdir}/../../../app/code/Magento/PageCache/etc/varnish6.vcl > ${tmpdir}/output.vcl \
25+
sed \
2626
-e 's@\.interval = 5s;@.interval = 5m; .initial = 10;@' \
2727
-e 's@/\* {{ host }} \*/@${s1_addr}@' \
2828
-e 's@/\* {{ port }} \*/@${s1_port}@' \
2929
-e 's@/\* {{ ssl_offloaded_header }} \*/@unused@' \
30-
-e 's@/\* {{ grace_period }} \*/@0@'
30+
-e 's@/\* {{ grace_period }} \*/@0@' \
31+
${testdir}/../../../app/code/Magento/PageCache/etc/varnish6.vcl > ${tmpdir}/output.vcl
3132
}
3233

3334
varnish v1 -arg "-f" -arg "${tmpdir}/output.vcl" -start

0 commit comments

Comments
 (0)