[master] cd76bc492 vtc: Stabilize t02022
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Aug 31 08:44:05 UTC 2021
commit cd76bc49243007f9c81e23df9681096c59280fed
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Aug 31 07:33:45 2021 +0200
vtc: Stabilize t02022
diff --git a/bin/varnishtest/tests/t02022.vtc b/bin/varnishtest/tests/t02022.vtc
index 4b636be68..39fbc4c68 100644
--- a/bin/varnishtest/tests/t02022.vtc
+++ b/bin/varnishtest/tests/t02022.vtc
@@ -6,6 +6,7 @@ server s1 {
rxreq
txresp -body asdf
rxreq
+ expect req.http.X-Varnish == 1005
txresp -bodylen 1048000
rxreq
txresp -body ASDF
@@ -31,6 +32,7 @@ varnish v1 -cliok "param.set feature +http2"
varnish v1 -cliok "param.reset h2_initial_window_size"
varnish v1 -cliok "param.reset h2_rx_window_low_water"
varnish v1 -cliok "param.set h2_rxbuf_storage rxbuf"
+varnish v1 -cliok "param.set vsl_mask +ExpKill"
varnish v1 -cliok "param.set debug +syncvsl"
varnish v1 -start
@@ -65,6 +67,10 @@ client c2 {
varnish v1 -expect SM?.rxbuf.g_bytes >= 1048000
varnish v1 -expect MAIN.n_lru_nuked == 0
+logexpect l1 -v v1 -g raw -q "Expkill ~ LRU" {
+ expect * * Expkill x=1005
+} -start
+
client c3 {
stream 1 {
txreq -req POST -url /1 -hdr "content-length" "2048" -nostrend
@@ -74,6 +80,8 @@ client c3 {
} -start
} -start
+logexpect l1 -wait
+
varnish v1 -expect SM?.rxbuf.g_bytes >= 2048
varnish v1 -expect SM?.rxbuf.g_bytes < 3000
varnish v1 -expect SM?.Transient.g_bytes == 0
More information about the varnish-commit
mailing list