[master] bea1da6e0 get an idea about the margin before r02219.vtc fails

Nils Goroll nils.goroll at uplex.de
Tue Nov 5 18:01:07 UTC 2019


commit bea1da6e0d2557143689acd2842b82b5b4268dec
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Nov 5 18:50:36 2019 +0100

    get an idea about the margin before r02219.vtc fails
    
    When making other changes which require additional workspace, this test
    may fail for too big a request in the first place.
    
    This additional logging facilitates before/after analysis

diff --git a/bin/varnishtest/tests/r02219.vtc b/bin/varnishtest/tests/r02219.vtc
index ff1a924f7..8b4d1c188 100644
--- a/bin/varnishtest/tests/r02219.vtc
+++ b/bin/varnishtest/tests/r02219.vtc
@@ -10,7 +10,10 @@ server s1 {
 } -start
 
 varnish v1 -arg "-p workspace_client=9k" -proto PROXY -vcl+backend {
+	import std;
+	import vtc;
 	sub vcl_recv {
+		std.log(vtc.workspace_free(client));
 		return (pass);
 	}
 } -start


More information about the varnish-commit mailing list