r2715 - trunk/varnish-cache/bin/varnishtest

phk at projects.linpro.no phk at projects.linpro.no
Tue Jun 17 09:32:43 CEST 2008


Author: phk
Date: 2008-06-17 09:32:43 +0200 (Tue, 17 Jun 2008)
New Revision: 2715

Modified:
   trunk/varnish-cache/bin/varnishtest/t001.vtc
   trunk/varnish-cache/bin/varnishtest/vtc_http.c
Log:
allow delays in http procssing (client & server)



Modified: trunk/varnish-cache/bin/varnishtest/t001.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/t001.vtc	2008-06-17 07:30:16 UTC (rev 2714)
+++ trunk/varnish-cache/bin/varnishtest/t001.vtc	2008-06-17 07:32:43 UTC (rev 2715)
@@ -4,20 +4,16 @@
 
 varnish v1 -launch
 
-delay 1
-
 varnish v1 -vcl {
 	backend s1 {
 		.host = "localhost";
 		.port = "9080";
 	}
-	vcl_recv {
+	sub vcl_recv {
 		pipe;
 	}
 }
 
-delay 1
-
 varnish v1 -start
 
 server s1 -repeat 1 {

Modified: trunk/varnish-cache/bin/varnishtest/vtc_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_http.c	2008-06-17 07:30:16 UTC (rev 2714)
+++ trunk/varnish-cache/bin/varnishtest/vtc_http.c	2008-06-17 07:32:43 UTC (rev 2715)
@@ -465,6 +465,7 @@
 	{ "txresp",	cmd_http_txresp },
 	{ "rxresp",	cmd_http_rxresp },
 	{ "expect",	cmd_http_expect },
+	{ "delay",	cmd_delay },
 	{ NULL,		NULL }
 };
 




More information about the varnish-commit mailing list