[6.0] cceb96b62 get an idea about the margin before r02219.vtc fails

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Dec 11 20:03:07 UTC 2019


commit cceb96b6224b6bfe9b091ed1d93ae8c48374e64c
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