From: phk Date: Thu, 14 Aug 2008 14:47:37 +0000 (+0000) Subject: Be more careful about concurrency. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=464890eae686bdbf5e2a69cf3fadf8551a7abd60;p=varnish Be more careful about concurrency. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3093 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/c00015.vtc b/varnish-cache/bin/varnishtest/tests/c00015.vtc index 505623a3..4bea77fb 100644 --- a/varnish-cache/bin/varnishtest/tests/c00015.vtc +++ b/varnish-cache/bin/varnishtest/tests/c00015.vtc @@ -29,7 +29,7 @@ client c1 { expect resp.status == 200 expect resp.http.content-length == 6 expect resp.http.x-varnish == "1001" -} -start +} -run varnish v1 -cli "vcl.use vcl2" @@ -39,7 +39,7 @@ client c2 { expect resp.status == 200 expect resp.http.content-length == 7 expect resp.http.x-varnish == "1002" -} -start +} -run varnish v1 -cli "vcl.use vcl1" @@ -49,7 +49,7 @@ client c3 { expect resp.status == 200 expect resp.http.content-length == 6 expect resp.http.x-varnish == "1003 1001" -} -start +} -run varnish v1 -cli "vcl.show vcl2" varnish v1 -cli "vcl.discard vcl2" diff --git a/varnish-cache/bin/varnishtest/tests/v00006.vtc b/varnish-cache/bin/varnishtest/tests/v00006.vtc index 04ff2553..9839b796 100644 --- a/varnish-cache/bin/varnishtest/tests/v00006.vtc +++ b/varnish-cache/bin/varnishtest/tests/v00006.vtc @@ -62,7 +62,7 @@ varnish v1 -expect n_vcl_discard == 1 client c1 { txreq -url /foo rxresp -} -start +} -run # The workthread should have released its VCL reference now # but we need to tickle the CLI to notice