[6.0] 95fecbede stabilize test: do not expect exact byte counts
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Jun 21 13:43:14 UTC 2024
commit 95fecbedec516bffbc0c84cadf635acce33f8c31
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sat Apr 4 13:58:12 2020 +0200
stabilize test: do not expect exact byte counts
Across the platforms we support, the overhead of stevedore allocations
varies slightly due to different sizes of our structs.
diff --git a/bin/varnishtest/tests/v00064.vtc b/bin/varnishtest/tests/v00064.vtc
index 8a608e38e..080029b4d 100644
--- a/bin/varnishtest/tests/v00064.vtc
+++ b/bin/varnishtest/tests/v00064.vtc
@@ -44,7 +44,7 @@ client c1 {
delay .1
varnish v1 -expect SM?.Transient.g_bytes > 1048000
-varnish v1 -expect SM?.Transient.g_space == 8
+varnish v1 -expect SM?.Transient.g_space < 50
client c1 {
# Fill malloc
@@ -56,7 +56,7 @@ client c1 {
} -run
varnish v1 -expect SM?.s0.g_bytes > 1048000
-varnish v1 -expect SM?.s0.g_space == 4
+varnish v1 -expect SM?.s0.g_space < 50
client c1 {
# Check that Varnish is still alive
More information about the varnish-commit
mailing list