[master] 271e2b830 Let the VSL catch up between clients. This seems to stabilize this test.
Poul-Henning Kamp
phk at FreeBSD.org
Wed Mar 30 14:22:07 UTC 2022
commit 271e2b8307ff56942ce05f04b90948027ca60cd8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Mar 30 14:21:23 2022 +0000
Let the VSL catch up between clients. This seems to stabilize this test.
diff --git a/bin/varnishtest/tests/t02022.vtc b/bin/varnishtest/tests/t02022.vtc
index 39fbc4c68..a646893be 100644
--- a/bin/varnishtest/tests/t02022.vtc
+++ b/bin/varnishtest/tests/t02022.vtc
@@ -53,6 +53,8 @@ varnish v1 -expect MAIN.n_lru_nuked == 0
barrier b1 sync
client c1 -wait
+varnish v1 -vsl_catchup
+
varnish v1 -expect SM?.rxbuf.g_bytes == 0
varnish v1 -expect SM?.Transient.g_bytes == 0
varnish v1 -expect MAIN.n_lru_nuked == 0
@@ -64,6 +66,8 @@ client c2 {
expect resp.bodylen == 1048000
} -run
+varnish v1 -vsl_catchup
+
varnish v1 -expect SM?.rxbuf.g_bytes >= 1048000
varnish v1 -expect MAIN.n_lru_nuked == 0
@@ -90,5 +94,7 @@ varnish v1 -expect MAIN.n_lru_nuked == 1
barrier b1 sync
client c3 -wait
+varnish v1 -vsl_catchup
+
varnish v1 -expect SM?.rxbuf.g_bytes == 0
varnish v1 -expect SM?.Transient.g_bytes == 0
More information about the varnish-commit
mailing list