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

phk at projects.linpro.no phk at projects.linpro.no
Sun Jun 22 10:10:38 CEST 2008


Author: phk
Date: 2008-06-22 10:10:38 +0200 (Sun, 22 Jun 2008)
New Revision: 2767

Added:
   trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc
Log:
Add testcase for multiple thread pools



Added: trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/c00002.vtc	2008-06-22 08:10:38 UTC (rev 2767)
@@ -0,0 +1,26 @@
+# Test that we get anything through at all
+#
+# $Id$
+
+test "Check that multiple thread pools all get started"
+
+varnish v1 -arg "-b localhost:9080 -p thread_pools=9" -start
+
+server s1 {
+	rxreq 
+	txresp -hdr "Connection: close" -body "012345\n"
+}
+
+server s1 -start 
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+}
+
+client c1 -run
+
+server s1 -wait
+
+varnish v1 -stop




More information about the varnish-commit mailing list