[master] 9029079 Improve test coverage

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 6 08:37:04 CET 2017


commit 9029079f9a7b7a122fd0054052b5c2c56dffb1b1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 6 07:31:37 2017 +0000

    Improve test coverage

diff --git a/bin/varnishtest/tests/t02003.vtc b/bin/varnishtest/tests/t02003.vtc
index 4d7de36..893d296 100644
--- a/bin/varnishtest/tests/t02003.vtc
+++ b/bin/varnishtest/tests/t02003.vtc
@@ -20,7 +20,7 @@ client c1 {
 		expect goaway.err == PROTOCOL_ERROR
 	} -start
 	stream 2 {
-		txwinup -size 1
+		txprio
 	} -run
 	stream 0 -wait
 } -run
@@ -104,6 +104,15 @@ client c1 {
 	} -run
 } -run
 
+client c1 {
+	stream 0 {
+		sendhex "000008 06 00 00000001 0102030405060708"
+		rxgoaway
+		expect goaway.laststream == 0
+		expect goaway.err == PROTOCOL_ERROR
+	} -run
+} -run
+
 #######################################################################
 # Test PUSH_PROMISE error conditions
 
@@ -111,9 +120,10 @@ client c1 {
 	stream 0 {
 		rxgoaway
 		expect goaway.err == PROTOCOL_ERROR
-		expect goaway.laststream == 0
+		expect goaway.laststream == 1
 	} -start
 	stream 1 {
+		txprio
 		sendhex "000008 05 00 00000001 0001020304050607"
 	} -run
 	stream 0 -wait



More information about the varnish-commit mailing list