From 27e2f64f91f78fbd59623811c948dcda1f3b6809 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 22 Jun 2008 08:10:38 +0000 Subject: [PATCH] Add testcase for multiple thread pools git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2767 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- .../bin/varnishtest/tests/c00002.vtc | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 varnish-cache/bin/varnishtest/tests/c00002.vtc diff --git a/varnish-cache/bin/varnishtest/tests/c00002.vtc b/varnish-cache/bin/varnishtest/tests/c00002.vtc new file mode 100644 index 00000000..954b0c1e --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/c00002.vtc @@ -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 -- 2.39.5