[master] 9dcbe09df PRIV_TASK vtc: tolerate even more racing until the fini executes

Nils Goroll nils.goroll at uplex.de
Tue Jan 12 22:45:10 UTC 2021


commit 9dcbe09dfe9ae3abcf03adff3d5a59ed048b0aa6
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jan 12 23:42:44 2021 +0100

    PRIV_TASK vtc: tolerate even more racing until the fini executes

diff --git a/bin/varnishtest/tests/v00041.vtc b/bin/varnishtest/tests/v00041.vtc
index 6d5b6345b..388ab5f8c 100644
--- a/bin/varnishtest/tests/v00041.vtc
+++ b/bin/varnishtest/tests/v00041.vtc
@@ -140,6 +140,14 @@ logexpect l0 -v v1 -g raw -d 1 -m -q "vxid == 0 and not ExpKill" {
 	expect ? =    Debug		{^priv_task_free}
 	expect ? =    Debug		{^obj_priv_task_fini.*"d1001"}
 
+	# 1003, but need to include in our alt to tolerate race
+	expect ? =    Debug		{^test_priv_task.*new.$}
+	expect ? =    Debug		{^test_priv_task.*exists.$}
+	expect ? =    Debug		{^test_priv_task.*update.$}
+	expect ? =    Debug		{^test_priv_task.*new.$}
+	expect ? =    Debug		{^test_priv_task.*update.$}
+	expect ? =    Debug		{^test_priv_task.*exists.$}
+
 	# ...
 	# 1006 pipe
 	expect * =    Debug		{^obj_priv_task_fini.*"p1006"}


More information about the varnish-commit mailing list