[master] 5a7b42e59 vtc: Polish t02019

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Jun 16 10:13:05 UTC 2023


commit 5a7b42e599909f1631a19a77e4b7327df4e6cf99
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Jun 16 12:09:40 2023 +0200

    vtc: Polish t02019

diff --git a/bin/varnishtest/tests/t02019.vtc b/bin/varnishtest/tests/t02019.vtc
index 6955fcf85..5795ceed4 100644
--- a/bin/varnishtest/tests/t02019.vtc
+++ b/bin/varnishtest/tests/t02019.vtc
@@ -32,21 +32,11 @@ client c1 {
 		expect stream.peer_window == 0
 		barrier b1 sync
 
-		rxwinup
-		expect stream.peer_window == 65535
-		txdata -datalen 16384 -nostrend
-
-		rxwinup
-		expect stream.peer_window == 65535
-		txdata -datalen 16384 -nostrend
-
-		rxwinup
-		expect stream.peer_window == 65535
-		txdata -datalen 16384 -nostrend
-
-		rxwinup
-		expect stream.peer_window == 65535
-		txdata -datalen 16384 -nostrend
+		loop 4 {
+			rxwinup
+			expect stream.peer_window == 65535
+			txdata -datalen 16384 -nostrend
+		}
 
 		rxwinup
 		expect stream.peer_window == 65535


More information about the varnish-commit mailing list