[master] 0fd4edc54 stabilize test

Nils Goroll nils.goroll at uplex.de
Wed Mar 11 07:42:07 UTC 2020


commit 0fd4edc54ad4a094dfce8fe1594e13d70d2f78a6
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Mar 11 08:38:21 2020 +0100

    stabilize test
    
    The refcount of the vcl can also have gone down to zero as in this vtc
    output:
    
    **   top  === process p1 -write "vcl.li\t\r"
    **** p1   Writing 8 bytes
    **   top  === process p1 -expect-text 0 1 "active   auto    warm         1...
    **** dT   2.143
    **** p1   output|varnish> vcl.list
    **** dT   2.173
    **** p1   output|varnish>
    **** p1   output|
    **** p1   output|200
    **** p1   output|active   auto    warm         0    vcl1
    **** dT   2.212
    **** v1   vsl|          0 CLI             - Rd vcl.list
    **** v1   vsl|          0 CLI             - Wr 200 40 active   auto    warm         0    vcl1
    
    As the process facility does not support regexp-expects (yet?), we just
    check for the beginning of the line

diff --git a/bin/varnishtest/tests/u00011.vtc b/bin/varnishtest/tests/u00011.vtc
index 52d222bd4..439fbfafc 100644
--- a/bin/varnishtest/tests/u00011.vtc
+++ b/bin/varnishtest/tests/u00011.vtc
@@ -24,7 +24,7 @@ process p1 -expect-text 0 1 "PONG"
 
 process p1 -write "vcl.li\t\r"
 
-process p1 -expect-text 0 1 "active   auto    warm         1    vcl1"
+process p1 -expect-text 0 1 "active   auto    warm"
 
 process p1 -write "vcl.s\t\th\t vcl1\r"
 


More information about the varnish-commit mailing list