[master] ead65de Don't allocate a lot of VSM for the -F test, we don't need it and it slows things down.

Poul-Henning Kamp phk at FreeBSD.org
Sun Jan 15 19:28:04 CET 2017


commit ead65de2767cd76a6b3a3ae3561d815b97fcf68c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sun Jan 15 18:26:30 2017 +0000

    Don't allocate a lot of VSM for the -F test, we don't need it and
    it slows things down.

diff --git a/bin/varnishtest/tests/a00009.vtc b/bin/varnishtest/tests/a00009.vtc
index 01ababb..202ec4d 100644
--- a/bin/varnishtest/tests/a00009.vtc
+++ b/bin/varnishtest/tests/a00009.vtc
@@ -35,7 +35,7 @@ shell -err -expect {Neither -b nor -f given} { varnishd -n ${tmpdir}/v0  }
 
 # Test -F mode with no VCL loaded
 
-process p1 "exec varnishd -n ${tmpdir}/v0 -F -f '' -a :0" -log -start
+process p1 "exec varnishd -n ${tmpdir}/v0 -F -f '' -a :0 -l2m,3m" -log -start
 
 delay 1
 
@@ -49,7 +49,7 @@ shell {
 }
 
 shell -expect {VCL compiled.} {
-	varnishadm -n ${tmpdir}/v0 vcl.load vcl1 ${tmpdir}/vcl
+	varnishadm -n ${tmpdir}/v0 vcl.load vcl1 ${tmpdir}/vcl 
 }
 
 shell -expect {active      auto/warm          - vcl1} {
@@ -60,4 +60,4 @@ shell {varnishadm -n ${tmpdir}/v0 start}}
 
 shell {varnishadm -n ${tmpdir}/v0 debug.listen_address}
 
-#process p1 -stop
+process p1 -stop -wait



More information about the varnish-commit mailing list