[master] 77d31e18e Remove OBE tests for good

Nils Goroll nils.goroll at uplex.de
Thu Jun 10 14:22:06 UTC 2021


commit 77d31e18e76e72566121769ef0771b80864aa845
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Jun 10 16:07:25 2021 +0200

    Remove OBE tests for good
    
    we test chunked + streaming and gzip + streaming in a number of vtcs
    since the do_stream default has been changed to true.
    
    And, yes, these vtcs do succeed.

diff --git a/bin/varnishtest/tests.disabled/t00000.vtc b/bin/varnishtest/tests.disabled/t00000.vtc
deleted file mode 100644
index c84100a8c..000000000
--- a/bin/varnishtest/tests.disabled/t00000.vtc
+++ /dev/null
@@ -1,53 +0,0 @@
-varnishtest "Ticket #873"
-
-barrier b1 cond 2
-barrier b2 cond 2
-barrier b3 cond 2
-barrier b4 cond 2
-
-server s1 {
-	rxreq
-	txresp -nolen -hdr "Transfer-encoding: chunked"
-	chunked "<1>------------------------<1>\n"
-	barrier b1 sync
-	chunked "<2>------------------------<2>\n"
-	barrier b2 sync
-	chunked "<3>------------------------<3>\n"
-	barrier b3 sync
-	chunked "<4>------------------------<4>\n"
-	barrier b4 sync
-	chunkedlen 0
-} -start
-
-varnish v1 -vcl+backend {
-	sub vcl_backend_response {
-		set beresp.do_stream = true;
-	}
-} -start
-
-varnish v1 -cliok "param.set debug +req_state"
-
-client c1 {
-	txreq  -hdr "foo: /foo"
-	rxresp -no_obj
-
-	rxchunk
-	expect resp.chunklen == 31
-	barrier b1 sync
-
-	rxchunk
-	expect resp.chunklen == 31
-	barrier b2 sync
-
-	rxchunk
-	expect resp.chunklen == 31
-	barrier b3 sync
-
-	rxchunk
-	expect resp.chunklen == 31
-	barrier b4 sync
-
-	rxchunk
-	expect resp.chunklen == 0
-	expect resp.bodylen == 124
-} -run
diff --git a/bin/varnishtest/tests.disabled/t00001.vtc b/bin/varnishtest/tests.disabled/t00001.vtc
deleted file mode 100644
index a94e956aa..000000000
--- a/bin/varnishtest/tests.disabled/t00001.vtc
+++ /dev/null
@@ -1,50 +0,0 @@
-varnishtest "Test stream/gunzip"
-
-server s1 {
-	rxreq
-	expect req.url == "/bar"
-	txresp -body "foobar"
-
-	rxreq
-	expect req.url == "/bla"
-	expect req.http.accept-encoding == "gzip"
-	txresp -gzipbody blablabla
-
-	rxreq
-	expect req.url == "/foo"
-	txresp -body "snafu"
-
-	rxreq
-	expect req.url == "/barf"
-	expect req.http.accept-encoding == "gzip"
-	txresp -gzipbody Iamoutofnonsensewords
-
-} -start
-
-varnish v1 -vcl+backend {
-	sub vcl_backend_response {
-		if (bereq.url == "/foo") {
-			set beresp.do_gzip = true;
-		}
-		if (bereq.url == "/barf") {
-			set beresp.do_gunzip = true;
-		}
-		set beresp.do_stream = true;
-	}
-} -start
-
-client c1 {
-	txreq  -url /bar
-	rxresp
-	expect resp.http.content-length == 6
-	expect resp.bodylen == 6
-	txreq  -url /bla
-	rxresp
-	expect resp.bodylen == 9
-	txreq  -url /foo
-	rxresp
-	expect resp.bodylen == 5
-	txreq  -url /barf
-	rxresp
-	expect resp.bodylen == 21
-} -run


More information about the varnish-commit mailing list