r3014 - trunk/varnish-cache/bin/varnishtest/tests

des at projects.linpro.no des at projects.linpro.no
Thu Jul 24 14:33:32 CEST 2008


Author: des
Date: 2008-07-24 14:33:32 +0200 (Thu, 24 Jul 2008)
New Revision: 3014

Added:
   trunk/varnish-cache/bin/varnishtest/tests/b00015.vtc
Log:
Test caching of synthetic error pages (broken since 2266).  This will need revisiting once caching has been reimplemented.


Added: trunk/varnish-cache/bin/varnishtest/tests/b00015.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/b00015.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/b00015.vtc	2008-07-24 12:33:32 UTC (rev 3014)
@@ -0,0 +1,19 @@
+# $Id$
+
+test "Check synthetic error page caching"
+
+server s1 {
+	rxreq
+	txresp -status 503 -msg "Server Error"
+} -start
+
+varnish v1 -vcl+backend { } -start
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 503
+	txreq -url "/"
+	rxresp
+	expect resp.status == 503
+} -run


Property changes on: trunk/varnish-cache/bin/varnishtest/tests/b00015.vtc
___________________________________________________________________
Name: svn:keywords
   + Id




More information about the varnish-commit mailing list