[master] 67f5fad Add a delay to allow the utils to attach the shmem before running the transaction.

Poul-Henning Kamp phk at FreeBSD.org
Sat Apr 7 14:42:09 UTC 2018


commit 67f5fadd287e217864b84a3c0b06b741d0dc2955
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Apr 7 14:41:07 2018 +0000

    Add a delay to allow the utils to attach the shmem before
    running the transaction.

diff --git a/bin/varnishtest/tests/u00009.vtc b/bin/varnishtest/tests/u00009.vtc
index eb587bc..90b7a3d 100644
--- a/bin/varnishtest/tests/u00009.vtc
+++ b/bin/varnishtest/tests/u00009.vtc
@@ -9,13 +9,15 @@ varnish v1 -vcl+backend {} -start
 
 process p1 -dump {varnishhist -n ${v1_name}} -start
 
-process p1 -expect-text 0 0 {1e2}
+process p1 -expect-text 24 0 {1e2}
+
+delay 1
 
 client c1 {
 	txreq
 	rxresp
 } -run
 
-process p1 -expect-text 0 0 {#}
+process p1 -expect-text 22 0 {#}
 
 process p1 -screen_dump -write {q} -wait
diff --git a/bin/varnishtest/tests/u00010.vtc b/bin/varnishtest/tests/u00010.vtc
index 9104c48..fc555ff 100644
--- a/bin/varnishtest/tests/u00010.vtc
+++ b/bin/varnishtest/tests/u00010.vtc
@@ -11,6 +11,8 @@ process p1 -dump {varnishtop -n ${v1_name}} -start
 
 process p1 -expect-text 1 1 {list length}
 
+delay 1
+
 client c1 {
 	txreq
 	rxresp


More information about the varnish-commit mailing list