[master] eb8b4ee More bells & whistles

Poul-Henning Kamp phk at FreeBSD.org
Tue Sep 6 08:28:09 CEST 2016


commit eb8b4ee11724f42cec06bad5f21401a4be8b8f5d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 6 06:27:10 2016 +0000

    More bells & whistles

diff --git a/bin/varnishtest/tests/t02000.vtc b/bin/varnishtest/tests/t02000.vtc
index f1343ec..f4d660c 100644
--- a/bin/varnishtest/tests/t02000.vtc
+++ b/bin/varnishtest/tests/t02000.vtc
@@ -2,6 +2,7 @@ varnishtest	"simple H2 get"
 
 server s1 {
 	rxreq
+	expect req.http.host == foo.bar
 	txresp -bodylen 10
 } -start
 
@@ -12,8 +13,18 @@ varnish v1 -cliok "param.set debug +syncvsl"
 
 client c1 {
 	stream 1 {
-		txreq
+		txprio -weight 10 -stream 0
+	} -start
+	stream 3 {
+		txprio -weight 10 -stream 0
+	} -start
+	stream 5 {
+		txprio -weight 10 -stream 2
+	} -start
+	stream 7 {
+		txreq -hdr :authority foo.bar
 		rxresp
+		expect resp.status == 200
 	} -run
 	stream 0 {
 		txping -data "_-__-_-_"



More information about the varnish-commit mailing list