[master] 3e5d5f29e try to stabilize test

Nils Goroll nils.goroll at uplex.de
Fri Apr 3 17:22:07 UTC 2020


commit 3e5d5f29e8648030be8b7daaed7426a73972d76a
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Apr 3 14:44:27 2020 +0200

    try to stabilize test
    
    Yes, we do not want to rely on timing, but I do not see how we could
    test the lru_interval timer otherwise
    
    seen in vtc:
    
    ---- v1   Not true: MAIN.n_lru_moved (0) == 1 (1)
    *    top  RESETTING after ../../../../bin/varnishtest/tests/r02527.vtc
    **   s1   Waiting for server (3/-1)
    **   v1   Wait

diff --git a/bin/varnishtest/tests/r02527.vtc b/bin/varnishtest/tests/r02527.vtc
index ae8ed0364..c70739c97 100644
--- a/bin/varnishtest/tests/r02527.vtc
+++ b/bin/varnishtest/tests/r02527.vtc
@@ -18,7 +18,7 @@ client c1 {
 
 varnish v1 -expect MAIN.n_lru_moved == 0
 
-delay 1
+delay 2
 
 client c1 {
 	txreq


More information about the varnish-commit mailing list